curl --request GET \
--url https://api.sendx.io/api/v1/rest/list \
--header 'X-Team-ApiKey: <api-key>'
[
{
"id": "encrypted_list_id",
"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": "info@example.com",
"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",
"created": "2024-10-01T12:34:56Z",
"updated": "2024-10-10T14:30:00Z",
"confirmSender": "<string>"
}
]
Retrieve all lists for the account.
curl --request GET \
--url https://api.sendx.io/api/v1/rest/list \
--header 'X-Team-ApiKey: <api-key>'
[
{
"id": "encrypted_list_id",
"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": "info@example.com",
"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",
"created": "2024-10-01T12:34:56Z",
"updated": "2024-10-10T14:30:00Z",
"confirmSender": "<string>"
}
]
Offset for pagination.
0
Limit the number of results returned.
10
Search term to filter lists.
"Marketing"
Retrieved all Lists for account successfully
The response is of type object[]
.
Was this page helpful?