Contacts
Retrieve all contacts.
The email of the contact to retrieve.
test@example.comThe collection of contacts.
The contact's ID.
981ba079-62a6-442c-8dfb-a72af6e96b8cThe contact's email.
contact@example.comThe contact's name.
John DoeThe contact's status.
The contact's custom fields.
{"profession":"Career consultant","company":"Acme Inc."}The user is not authenticated.
The user does not have permission to perform this operation.
GET /api/v1/contacts HTTP/1.1
Accept: */*
[
{
"id": "981ba079-62a6-442c-8dfb-a72af6e96b8c",
"email": "contact@example.com",
"name": "John Doe",
"status": "ACTIVE",
"custom_fields": {
"profession": "Career consultant",
"company": "Acme Inc."
},
"tags": [
{
"id": "981ba079-62a6-442c-8dfb-a72af6e96b8c",
"name": "Tag Name",
"color": "BLUE",
"created_at": "2025-01-01T00:00:00.000Z",
"updated_at": "2025-01-01T00:00:00.000Z"
}
]
}
]Create a contact.
The contact's email.
contact@example.comThe contact's name.
John DoeThe contact's status.
Custom field data for the contact.
{"profession":"Career consultant","company_name":"Acme Inc."}The IDs of tags to assign to the contact.
["db07bb52-1d59-48a8-8a0d-03005c997543","5ab65d05-1f7d-43a2-878e-90c69d6ad840","319d26ed-4e92-447b-b8f0-e84aba066dd1"]The contact that was created.
The contact's ID.
981ba079-62a6-442c-8dfb-a72af6e96b8cThe contact's email.
contact@example.comThe contact's name.
John DoeThe contact's status.
The contact's custom fields.
{"profession":"Career consultant","company":"Acme Inc."}The user is not authenticated.
The user does not have permission to perform this operation.
A contact already exists with the supplied email.
POST /api/v1/contacts HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 270
{
"email": "contact@example.com",
"name": "John Doe",
"status": "ACTIVE",
"customFields": {
"profession": "Career consultant",
"company_name": "Acme Inc."
},
"tags": [
"db07bb52-1d59-48a8-8a0d-03005c997543",
"5ab65d05-1f7d-43a2-878e-90c69d6ad840",
"319d26ed-4e92-447b-b8f0-e84aba066dd1"
]
}{
"id": "981ba079-62a6-442c-8dfb-a72af6e96b8c",
"email": "contact@example.com",
"name": "John Doe",
"status": "ACTIVE",
"custom_fields": {
"profession": "Career consultant",
"company": "Acme Inc."
},
"tags": [
{
"id": "981ba079-62a6-442c-8dfb-a72af6e96b8c",
"name": "Tag Name",
"color": "BLUE",
"created_at": "2025-01-01T00:00:00.000Z",
"updated_at": "2025-01-01T00:00:00.000Z"
}
]
}Retrieve a single contact by their ID.
The ID of the contact to retrieve.
981ba079-62a6-442c-8dfb-a72af6e96b8cThe contact.
The contact's ID.
981ba079-62a6-442c-8dfb-a72af6e96b8cThe contact's email.
contact@example.comThe contact's name.
John DoeThe contact's status.
The contact's custom fields.
{"profession":"Career consultant","company":"Acme Inc."}The user is not authenticated.
The requested resource was not found.
GET /api/v1/contacts/{contactId} HTTP/1.1
Accept: */*
{
"id": "981ba079-62a6-442c-8dfb-a72af6e96b8c",
"email": "contact@example.com",
"name": "John Doe",
"status": "ACTIVE",
"custom_fields": {
"profession": "Career consultant",
"company": "Acme Inc."
},
"tags": [
{
"id": "981ba079-62a6-442c-8dfb-a72af6e96b8c",
"name": "Tag Name",
"color": "BLUE",
"created_at": "2025-01-01T00:00:00.000Z",
"updated_at": "2025-01-01T00:00:00.000Z"
}
]
}Update a contact by their ID.
The ID of the contact to retrieve.
981ba079-62a6-442c-8dfb-a72af6e96b8cThe contact's email.
contact@example.comThe contact's name.
John DoeThe contact's status.
Custom field data for the contact.
{"profession":"Career consultant","company_name":"Acme Inc."}The IDs of tags to assign to the contact.
["db07bb52-1d59-48a8-8a0d-03005c997543","5ab65d05-1f7d-43a2-878e-90c69d6ad840","319d26ed-4e92-447b-b8f0-e84aba066dd1"]The updated contact.
The contact's ID.
981ba079-62a6-442c-8dfb-a72af6e96b8cThe contact's email.
contact@example.comThe contact's name.
John DoeThe contact's status.
The contact's custom fields.
{"profession":"Career consultant","company":"Acme Inc."}The user is not authenticated.
The user does not have permission to perform this operation.
A contact already exists with the supplied email.
PATCH /api/v1/contacts/{contactId} HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 270
{
"email": "contact@example.com",
"name": "John Doe",
"status": "ACTIVE",
"customFields": {
"profession": "Career consultant",
"company_name": "Acme Inc."
},
"tags": [
"db07bb52-1d59-48a8-8a0d-03005c997543",
"5ab65d05-1f7d-43a2-878e-90c69d6ad840",
"319d26ed-4e92-447b-b8f0-e84aba066dd1"
]
}{
"id": "981ba079-62a6-442c-8dfb-a72af6e96b8c",
"email": "contact@example.com",
"name": "John Doe",
"status": "ACTIVE",
"custom_fields": {
"profession": "Career consultant",
"company": "Acme Inc."
},
"tags": [
{
"id": "981ba079-62a6-442c-8dfb-a72af6e96b8c",
"name": "Tag Name",
"color": "BLUE",
"created_at": "2025-01-01T00:00:00.000Z",
"updated_at": "2025-01-01T00:00:00.000Z"
}
]
}Delete a contact by their ID.
The ID of the contact to retrieve.
981ba079-62a6-442c-8dfb-a72af6e96b8cThe deleted contact.
The contact's ID.
981ba079-62a6-442c-8dfb-a72af6e96b8cThe contact's email.
contact@example.comThe contact's name.
John DoeThe contact's status.
The contact's custom fields.
{"profession":"Career consultant","company":"Acme Inc."}The user is not authenticated.
The user does not have permission to perform this operation.
DELETE /api/v1/contacts/{contactId} HTTP/1.1
Accept: */*
{
"id": "981ba079-62a6-442c-8dfb-a72af6e96b8c",
"email": "contact@example.com",
"name": "John Doe",
"status": "ACTIVE",
"custom_fields": {
"profession": "Career consultant",
"company": "Acme Inc."
},
"tags": [
{
"id": "981ba079-62a6-442c-8dfb-a72af6e96b8c",
"name": "Tag Name",
"color": "BLUE",
"created_at": "2025-01-01T00:00:00.000Z",
"updated_at": "2025-01-01T00:00:00.000Z"
}
]
}Assign a tag to a contact by their ID.
The ID of the contact to retrieve.
981ba079-62a6-442c-8dfb-a72af6e96b8cThe ID of the tag.
981ba079-62a6-442c-8dfb-a72af6e96b8cTag assigned successfully.
No content
The user is not authenticated.
The user does not have permission to perform this operation.
POST /api/v1/contacts/{contactId}/assign-tag?tagId=text HTTP/1.1
Accept: */*
No content
Unassign a tag from a contact by their ID.
The ID of the contact to retrieve.
981ba079-62a6-442c-8dfb-a72af6e96b8cThe ID of the tag.
981ba079-62a6-442c-8dfb-a72af6e96b8cTag unassigned successfully.
No content
The user is not authenticated.
The user does not have permission to perform this operation.
POST /api/v1/contacts/{contactId}/unassign-tag?tagId=text HTTP/1.1
Accept: */*
No content
Retrieve a contact note by their ID.
The ID of the contact to retrieve.
981ba079-62a6-442c-8dfb-a72af6e96b8cThe contact note.
The ID of the contact to which the note belongs.
981ba079-62a6-442c-8dfb-a72af6e96b8cThe content of the contact note.
Timestamp for when the note was last updated.
2025-01-01T00:00:00.000ZThe user is not authenticated.
The requested resource was not found.
GET /api/v1/contacts/{contactId}/note HTTP/1.1
Accept: */*
{
"contact_id": "981ba079-62a6-442c-8dfb-a72af6e96b8c",
"content": {},
"updated_at": "2025-01-01T00:00:00.000Z"
}Update a contact note by their ID.
The ID of the contact to retrieve.
981ba079-62a6-442c-8dfb-a72af6e96b8cThe content of the note.
The updated contact note.
No content
The user is not authenticated.
The user does not have permission to perform this operation.
PATCH /api/v1/contacts/{contactId}/note HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 14
{
"content": {}
}No content
Last updated