Contacts

Contacts

Get all Contacts

get

Retrieve all contacts for a specific workspace with pagination.

Authorizations
Path parameters
workspaceIdstringRequired

ID of the workspace

Query parameters
pageintegerOptional

Page number for pagination

per_pageintegerOptional

Number of records per page

Responses
chevron-right
200

Success

application/json
current_pageintegerOptional
last_pageintegerOptional
per_pageintegerOptional
totalintegerOptional
get
/api/workspaces/{workspaceId}/contacts

Create a new contact

post

Create a new contact for a specific workspace.

Authorizations
Path parameters
workspaceIdstringRequired

ID of the workspace

Body
Responses
chevron-right
200

Contact created successfully

application/json
idstringRequired

UUID of the contact

workspace_idstringRequired

ID of the workspace the contact belongs to

attributesobjectRequired

List of attributes with their values

post
/api/workspaces/{workspaceId}/contacts

Delete a contact and all its related data

delete

Delete a contact by its ID along with its identifiers and attributes.

Path parameters
workspaceIdstringRequired

ID of the workspace

contactIdstringRequired

ID of the contact

Responses
chevron-right
200

Contact deleted successfully

application/json
successbooleanOptionalExample: true
messagestringOptionalExample: Contact deleted successfully
delete
/api/workspaces/{workspaceId}/contacts/{contactId}

Update a Contact

patch

Update an existing contact for a specific workspace.

Authorizations
Path parameters
workspaceIdstringRequired

ID of the workspace

contactIdstringRequired

ID of the contact

Body
Responses
chevron-right
200

Success

application/json
messagestringOptionalExample: Contact updated successfully.
patch
/api/workspaces/{workspaceId}/contacts/{contactId}

Last updated