Skip to main content
POST
Create a contact

Authorizations

Authorization
string
header
required

An organization API key created in the Klatt console, sent as Authorization: Bearer <key>. The key belongs to one organization.

Path Parameters

list_uuid
string<uuid>
required

Unique identifier (UUID) of the contact list.

Body

application/json

A contact. On update the whole object is replaced, except additional_fields, where a key you leave out keeps its value and null clears it.

additional_fields
object

Values of the list's custom fields, keyed by field key. Values are text, numbers or booleans. Keys you leave out keep their value on update; null clears a value.

company
string | null

Company the contact belongs to, up to 200 characters.

Maximum string length: 200
emails
object[]

Email addresses, up to 10. A contact needs at least one phone number or email address.

Maximum array length: 10
first_name
string | null

First name, up to 100 characters.

Maximum string length: 100
last_name
string | null

Last name, up to 100 characters.

Maximum string length: 100
notes
string | null

Free-form notes, up to 5000 characters.

Maximum string length: 5000
phones
object[]

Phone numbers, up to 10. A contact needs at least one phone number or email address.

Maximum array length: 10

Response

Successful Response

contact_uuid
string<uuid>
required

Unique identifier (UUID) of the contact.

created_at
string<date-time>
required

When the contact was created (ISO 8601, UTC).

list_uuid
string<uuid>
required

Unique identifier (UUID) of the list the contact belongs to.

updated_at
string<date-time>
required

When the contact was last changed (ISO 8601, UTC).

additional_fields
object

Values of the list's custom fields, keyed by field key. Values are text, numbers or booleans. Keys you leave out keep their value on update; null clears a value.

company
string | null

Company the contact belongs to, up to 200 characters.

Maximum string length: 200
created_by_assistant
boolean
default:false

Whether the analysis of a conversation created the contact.

created_conversation_kind
enum<string> | null

Channel of that conversation, voice or chat.

Available options:
voice,
chat
created_conversation_uuid
string | null

The conversation whose analysis created the contact. null when created_source is null.

created_source
string | null

extracted when the analysis of a conversation created the contact. null when a person or an import did.

Allowed value: "extracted"
emails
object[]

Email addresses, up to 10. A contact needs at least one phone number or email address.

Maximum array length: 10
field_changes
object[]

History of changes to the custom fields, up to the last 20.

Maximum array length: 20
first_name
string | null

First name, up to 100 characters.

Maximum string length: 100
last_conversation_at
string<date-time> | null

When the most recent conversation with this contact happened (ISO 8601, UTC).

last_conversation_uuid
string<uuid> | null

The most recent conversation with this contact. null if there is none.

last_name
string | null

Last name, up to 100 characters.

Maximum string length: 100
notes
string | null

Free-form notes, up to 5000 characters.

Maximum string length: 5000
phones
object[]

Phone numbers, up to 10. A contact needs at least one phone number or email address.

Maximum array length: 10