1. People
ConeixApi
  • Company
    • List of companies
      GET
    • Create company
      POST
    • Edit company
      PATCH
  • Tickets
    • Get single ticket
      GET
    • Get ticket status
      GET
    • Get ticket categories
      GET
    • Create a single ticket
      POST
    • Upload ticket file
      POST
    • Get ticket types
      GET
  • People
    • List of people
      GET
    • Create people
      POST
    • Get single people
      GET
    • Edit people
      PATCH
    • Create phone number
      POST
    • Create email
      POST
    • Edit email
      PATCH
    • Edit phone number
      PATCH
    • Delete phone number
      DELETE
    • Delete email
      DELETE
  • Projects
    • List of projects
      GET
    • Get project status
      GET
  • Schemas
    • other_emails
  1. People

Create people

Developing
POST
people

Request

Authorization
Add parameter in header
x-api-key
Example:
x-api-key: ********************
Body Params application/json

Examples

Responses

🟢201OK
application/json
Bodyapplication/json

🟠401Unauthorized
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --globoff 'https://.coneix.com//Coneix2/api/v1/people' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "firstname": "Test",
    "lastname": "Coneix",
    "email": "test@coneix.com",
    "company_id": 3265,
    "language": "es_ES",
    "observations": "Observacions persona",
    "observations_company_relation": "Observacions relació empresa"
}'
Response Response Example
201 - OK
{
    "status": "success",
    "message": "Person created successfully",
    "data": {
        "id": 1,
        "firstname": "Tecnic",
        "lastname": "Coneix",
        "email": "test@coneix.com",
        "observations": "Observations",
        "language": "ca_ES",
        "related_companies": [
            {
                "company_id": 1,
                "name": "1 - TEST",
                "observations_company_relation": ""
            },
            {
                "company_id": 2,
                "name": "2 - TEST 2",
                "observations_company_relation": "Observations"
            }
        ],
        "phone_numbers": [
            {
                "number": "+xxxxxxxxx",
                "type": 2,
                "type_name": "Particular"
            },
            {
                "number": "+yyyyyyyyy",
                "type": 1,
                "type_name": "Profesional"
            }
        ],
        "emails": [
            {
                "email": "test@coneix.com",
                "type": 3,
                "type_name": "Custom name2",
                "main": true
            },
            {
                "email": "test2@coneix.com",
                "type": 1,
                "type_name": "Profesional",
                "main": false
            }
        ]
    }
}
Modified at 2026-06-09 11:29:44
Previous
List of people
Next
Get single people
Built with