cURL
curl --request POST \ --url https://api.sendx.io/api/v1/rest/list \ --header 'Content-Type: application/json' \ --header 'X-Team-ApiKey: <api-key>' \ --data ' { "name": "Premium Members" } '
201
Example
{ "id": "list_OcuxJHdiAvujmwQVJfd3ss", "name": "Newsletter Subscribers", "type": 123, "created": "2023-11-07T05:31:56Z", "updated": "2023-11-07T05:31:56Z"}
Creates a new contact list.
Team API key for authentication. Find your API key in SendX Settings → Team API Key.
Example:
X-Team-ApiKey: your_team_api_key_here
List name
"Newsletter Subscribers"
✅ List created successfully
"list_OcuxJHdiAvujmwQVJfd3ss"
List type.
Values:
0
1
Was this page helpful?