Create a contact
curl --request POST \
--url https://dev-public-api.openphone.dev/contacts \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--header 'Quo-Api-Version: <quo-api-version>' \
--data '
{
"firstName": "Alice",
"lastName": "Johnson",
"company": "Acme Corp",
"role": "CEO",
"externalId": "external-001",
"source": "external",
"sourceUrl": "https://example.com/contacts/001",
"actorId": "US123abc"
}
'{
"data": {
"id": "6a145ff26212a192852c856e",
"createdAt": "2021-01-01T00:00:00Z",
"updatedAt": "2021-01-01T00:00:00Z",
"actorId": "US123abc",
"externalId": "1234567890",
"source": "public-api",
"sourceUrl": "https://example.com/contacts/001",
"firstName": "John",
"lastName": "Doe",
"company": "Quo",
"role": "admin"
}
}{
"message": "The input was invalid",
"docs": "https://quo.com/docs",
"title": "Bad Request",
"trace": "6897907457496870895"
}{
"message": "User is unauthorized to perform this action",
"docs": "https://quo.com/docs",
"title": "Unauthorized",
"trace": "6897907457496870895"
}{
"message": "User is forbidden to perform this action",
"docs": "https://quo.com/docs",
"title": "Forbidden",
"trace": "6897907457496870895"
}{
"message": "The contact was not found",
"docs": "https://quo.com/docs",
"title": "Not Found",
"trace": "6897907457496870895"
}{
"message": "An unknown error has occurred",
"docs": "https://quo.com/docs",
"title": "Unknown Error",
"trace": "6897907457496870895"
}Contacts
Create a contact
Create a new contact in the organization.
POST
/
contacts
Create a contact
curl --request POST \
--url https://dev-public-api.openphone.dev/contacts \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--header 'Quo-Api-Version: <quo-api-version>' \
--data '
{
"firstName": "Alice",
"lastName": "Johnson",
"company": "Acme Corp",
"role": "CEO",
"externalId": "external-001",
"source": "external",
"sourceUrl": "https://example.com/contacts/001",
"actorId": "US123abc"
}
'{
"data": {
"id": "6a145ff26212a192852c856e",
"createdAt": "2021-01-01T00:00:00Z",
"updatedAt": "2021-01-01T00:00:00Z",
"actorId": "US123abc",
"externalId": "1234567890",
"source": "public-api",
"sourceUrl": "https://example.com/contacts/001",
"firstName": "John",
"lastName": "Doe",
"company": "Quo",
"role": "admin"
}
}{
"message": "The input was invalid",
"docs": "https://quo.com/docs",
"title": "Bad Request",
"trace": "6897907457496870895"
}{
"message": "User is unauthorized to perform this action",
"docs": "https://quo.com/docs",
"title": "Unauthorized",
"trace": "6897907457496870895"
}{
"message": "User is forbidden to perform this action",
"docs": "https://quo.com/docs",
"title": "Forbidden",
"trace": "6897907457496870895"
}{
"message": "The contact was not found",
"docs": "https://quo.com/docs",
"title": "Not Found",
"trace": "6897907457496870895"
}{
"message": "An unknown error has occurred",
"docs": "https://quo.com/docs",
"title": "Unknown Error",
"trace": "6897907457496870895"
}Authorizations
Headers
API version header. Supported values: 2026-03-30
Available options:
2026-03-30 Body
application/json
The first name of the contact.
Example:
"Alice"
The last name of the contact.
Example:
"Johnson"
The company of the contact.
Example:
"Acme Corp"
The role of the contact.
Example:
"CEO"
The external ID of the contact.
Example:
"external-001"
The source of the contact.
Example:
"external"
A link to the contact in the source system.
Required string length:
1 - 200Example:
"https://example.com/contacts/001"
The actor ID to attribute contact creation to. Defaults to the organization owner.
Pattern:
^US(.*)$Example:
"US123abc"
Response
Created
Show child attributes
Show child attributes
Was this page helpful?