Lists

Lists

Display a listing of IAM lists in a workspace.

get
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_pageintegerOptional

Number of items per page for pagination

Default: 15
pageintegerOptional

Page number for pagination

Default: 1
Responses
200

Successful operation

application/json
get
api/workspaces/{workspaceId}/lists

Store a newly created list.

post
Authorizations
Path parameters
workspaceIdstringRequired

ID of the workspace

Body
namestringOptional

Name of the list

Example: Example List
descriptionstringOptional

Description of the list

Example: This is an example list.
contact_idsstring[]Optional

Array of contact IDs

Example: dd479c4d-7ce6-439e-9adc-6d128a1b6e2d
Responses
post
/api/workspaces/{workspaceId}/lists

Show a list

get

Display a list by ID

Path parameters
workspaceIdstringRequired

ID of the workspace

listIdstringRequired

ID of the list to show

Responses
200

List found

application/json
get
/api/workspaces/{workspaceId}/lists/{listId}

Update a list

put

Update 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
put
/api/workspaces/{workspaceId}/lists/{id}

Display a listing of the contacts by list ID.

get

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
get
/api/workspaces/{workspaceId}/lists/{listId}/contacts

Last updated