Create a contact
POST/api/contact
- crm.edit: allows edit resources.
Here the dedicated support page.
Request
Header Parameters
The company you want to interact with
The API version you want to use
- application/json
Body
Email of the contact
Name of the contact
Surname of the contact
Role of the contact
Notes of the contact
Linkedin of the contact
Description of the contact
ID of the client to associate with this contact
Responses
- 201
- 400
- 401
Returns the contact created.
- application/json
- Schema
- Example (from schema)
Schema
Possible values: >= 1
Possible values: >= 1
ID of the client
Possible values: <= 150 characters
Possible values: <= 100 characters
Possible values: <= 100 characters
Possible values: <= 75 characters
Possible values: <= 250 characters
Possible values: <= 100 characters
{
"id": 1,
"created_at": "2025-01-21T10:16:02.218Z",
"updated_at": "2025-01-21T10:16:02.218Z",
"client_id": 1,
"email": "client@email.com",
"name": "Client name",
"surname": "Client surname",
"role": "Client role",
"notes": "Some notes about the client",
"linkedin": "https://www.linkedin.com/in/example",
"description": "A brief description of the client",
"telephone": "123456789"
}
Validation failed
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Error unique key
Human-readable message describing the error
failures
object[]
List of validation errors
Name of the field causing the error
Human-readable description of the error
{
"key": "invalid_data",
"message": "You provided invalid data. Check 'failures' for details.",
"failures": [
{
"field": "string",
"message": "string"
}
]
}
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
Error unique key
Human-readable message describing the error
{
"key": "string",
"message": "string"
}