Lists
Lists
Path parameters
workspaceIdstringRequired
ID of the workspace
Query parameters
namestringOptional
Filter lists by name
identifierstringOptional
Filter lists to include only those with contacts having a specified identifier (e.g., phone-number, email)
per_pageintegerOptionalDefault:
Number of items per page for pagination
15pageintegerOptionalDefault:
Page number for pagination
1Responses
200
Successful operation
application/json
401
Unauthenticated
application/json
403
Forbidden
application/json
get
api/workspaces/{workspaceId}/listsAuthorizations
Path parameters
workspaceIdstringRequired
ID of the workspace
Body
namestringOptionalExample:
Name of the list
Example ListdescriptionstringOptionalExample:
Description of the list
This is an example list.contact_idsstring[]OptionalExample:
Array of contact IDs
dd479c4d-7ce6-439e-9adc-6d128a1b6e2dResponses
201
List created successfully
application/json
400
Validation Error(s)
application/json
404
Workspace not found
application/json
post
/api/workspaces/{workspaceId}/listsUpdate a list by ID
Path parameters
idstringRequired
ID of the list to update
Body
idintegerOptional
namestringOptional
workspace_idintegerOptional
typestringOptional
descriptionstring | nullableOptional
created_atinteger · timestampOptional
updated_atinteger · timestampOptional
Responses
200
List updated successfully
application/json
404
List not found
put
/api/workspaces/{workspaceId}/lists/{id}Retrieve a list of contacts associated with a specific list.
Path parameters
workspaceIdstringRequired
ID of the workspace
listIdstringRequired
ID of the list
Query parameters
per_pageintegerOptional
Number of records per page
pageintegerOptional
Page number for pagination
Responses
200
Contacts retrieved successfully
application/json
404
Workspace or List not found
application/json
get
/api/workspaces/{workspaceId}/lists/{listId}/contactsLast updated