Create a list
This endpoint is used to create a new contact list. A contact list can be used to group contacts together.
Authorizations
AuthorizationstringRequired
An access token issued to a user.
Path parameters
workspaceIdstring · uuidRequiredExample:
Your workspace identifier.
b4e02c85-c6d2-4b15-8885-e09671799c61Body
namestring · min: 2 · max: 256RequiredExample:
Name
US Customersdescriptionstring | nullableOptionalExample:
A list of all US customersconsentTypestring · enum | nullableOptionalPossible values:
The consent type for the list.
tagsstring · uuid[] | nullableOptionalExample:
123e4567-e89b-12d3-a456-426614174000isProofboolean | nullableOptional
The list is used as a proof list to use it as a test list in campaigns.
Responses
201
The list was created successfully.
application/json
404
The workspace was not found.
application/json
422
The HTTP request is well-formed but was unable to be processed. The HTTP response should include details about the error.
application/json
post
/workspaces/{workspaceId}/listsExamples
Let's establish some of our data that will be used in the following examples:
Workspace ID: a1405560-c8d3-4b1a-877d-3f449ad95352
AccessKey: abcd
Create a list
In this example, we're creating a list.
Last updated
Was this helpful?

