For the complete documentation index, see llms.txt. This page is also available as Markdown.

Create Contact List

Create new Contact Lists

post
Authorizations
Api-TokenstringRequired

Pass the API token in the Api-Token

Body
namestringOptional
Responses
200

Contact List Created.

application/json
idintegerOptional
namestring · max: 255Optional
post/api/contacts/lists
curl -X POST https://mailtrap.io/api/contacts/lists \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{"name": "Customers"}'
{
  "id": 26730,
  "name": "Customers"
}

Last updated

Was this helpful?