API Reference
Getting Started
Contact
Campaign
Reports
Event
Webhook
List
Update List
Update an existing list by its ID.
PUT
/
list
/
{listId}
Update List
Copy
Ask AI
curl --request PUT \
--url https://api.sendx.io/api/v1/rest/list/{listId} \
--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
{
"status": "<string>",
"message": "<string>",
"data": "<string>"
}
Authorizations
Path Parameters
The ID of the list to be updated.
Body
application/json
Response
200
application/json
List Updated Successfully
The response is of type object
.
Was this page helpful?
Update List
Copy
Ask AI
curl --request PUT \
--url https://api.sendx.io/api/v1/rest/list/{listId} \
--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
{
"status": "<string>",
"message": "<string>",
"data": "<string>"
}
Assistant
Responses are generated using AI and may contain mistakes.