POST
/
dispatches
/
contacts
/
lists

Creates a new contact list or updates an existing one.

Body Parameters

id
string

The ID of the contact list to update. If not provided, a new list will be created.

name
string
required

The name of the contact list.

Response

Success
object

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
id
string | null

Include the ID to update an existing contact list. Omit to create a new one.

name
string

The name of the contact list.

Response

200 - application/json
id
string
name
string
createdAt
string
updatedAt
string