Create a list

Create a list

post

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 · uuidRequired

Your workspace identifier.

Example: b4e02c85-c6d2-4b15-8885-e09671799c61
Body
namestring · min: 2 · max: 256Required

Name

Example: US Customers
descriptionstring | nullableOptionalExample: A list of all US customers
consentTypestring · enum | nullableOptional

The consent type for the list.

Possible values:
tagsstring · uuid[] | nullableOptionalExample: 123e4567-e89b-12d3-a456-426614174000
isProofboolean | 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
post
/workspaces/{workspaceId}/lists

Examples

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?