curl --request POST \
--url https://{your-subdomain}.neetocrm.com/api/external/v1/contacts \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <x-api-key>' \
--data '
{
"contact": {
"name": "Eve",
"email": "eve@example.com",
"phone_number": "+1234567890",
"company_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"owner_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"tag_ids": [
"a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"b2c3d4e5-f6a7-8901-bcde-f12345678901"
],
"field_values_attributes": [
{
"field_id": "<string>",
"value": "<string>"
}
]
}
}
'{
"contact": {
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"name": "Eve",
"email": "eve@example.com",
"phone_number": "",
"created_at": "2025-03-15T10:30:00.000Z",
"updated_at": "2025-03-15T10:30:00.000Z",
"owner": null,
"tags": [],
"company": {
"id": null,
"name": null
}
}
}Create a new contact in your workspace.
curl --request POST \
--url https://{your-subdomain}.neetocrm.com/api/external/v1/contacts \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <x-api-key>' \
--data '
{
"contact": {
"name": "Eve",
"email": "eve@example.com",
"phone_number": "+1234567890",
"company_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"owner_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"tag_ids": [
"a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"b2c3d4e5-f6a7-8901-bcde-f12345678901"
],
"field_values_attributes": [
{
"field_id": "<string>",
"value": "<string>"
}
]
}
}
'{
"contact": {
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"name": "Eve",
"email": "eve@example.com",
"phone_number": "",
"created_at": "2025-03-15T10:30:00.000Z",
"updated_at": "2025-03-15T10:30:00.000Z",
"owner": null,
"tags": [],
"company": {
"id": null,
"name": null
}
}
}{your-subdomain} with your workspace’s subdomain. X-Api-Key is used to authenticate requests using an API key. Provide your API key in this header to access protected endpoints. Refer to Authentication for more information.
Hide child attributes
Contact name.
"Eve"
Email address.
"eve@example.com"
Phone number.
"+1234567890"
Unique identifier of the associated company.
"a1b2c3d4-e5f6-7890-abcd-ef1234567890"
Unique identifier of the owner.
"a1b2c3d4-e5f6-7890-abcd-ef1234567890"
Array of tag IDs.
[
"a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"b2c3d4e5-f6a7-8901-bcde-f12345678901"
]Contact created successfully.
Hide child attributes
Unique identifier for the contact.
Name of the contact.
Email address of the contact.
Phone number of the contact.
Unique identifier of the associated company.
Unique identifier of the organization.
IDs of tags associated with the contact.
Timestamp when the contact was created.
Timestamp when the contact was last updated.