API Reference
Getting Started
Contact
Campaign
Reports
Event
Webhook
List
Create List
Create a new list.
POST
/
list
Create List
Copy
Ask AI
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": "Newsletter Subscribers",
"type": 0,
"sendThankYouMail": true,
"thankYouFromName": "John Doe",
"thankYouFromEmail": "john.doe@example.com",
"thankYouMailSubject": "Thank You for Subscribing!",
"thankYouMailMessage": "We appreciate your subscription!",
"thankYouSender": "sender_101",
"confirmFromName": "John Doe",
"confirmFromEmail": "john.doe@example.com",
"confirmMailSubject": "Please Confirm Your Subscription",
"confirmMailMessage": "Click the link below to confirm your subscription.",
"confirmSuccessPage": "https://example.com/confirmation-success",
"confirmSender": "sender_102"
}'
Copy
Ask AI
{
"id": "sendx123",
"name": "My New Resource",
"success": true
}
Authorizations
Body
application/json
Response
200
application/json
List Created Successfully
The response is of type object
.
Was this page helpful?
Create List
Copy
Ask AI
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": "Newsletter Subscribers",
"type": 0,
"sendThankYouMail": true,
"thankYouFromName": "John Doe",
"thankYouFromEmail": "john.doe@example.com",
"thankYouMailSubject": "Thank You for Subscribing!",
"thankYouMailMessage": "We appreciate your subscription!",
"thankYouSender": "sender_101",
"confirmFromName": "John Doe",
"confirmFromEmail": "john.doe@example.com",
"confirmMailSubject": "Please Confirm Your Subscription",
"confirmMailMessage": "Click the link below to confirm your subscription.",
"confirmSuccessPage": "https://example.com/confirmation-success",
"confirmSender": "sender_102"
}'
Copy
Ask AI
{
"id": "sendx123",
"name": "My New Resource",
"success": true
}
Assistant
Responses are generated using AI and may contain mistakes.