GET
/
list
Get All Lists
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>"
  }
]

Authorizations

X-Team-ApiKey
string
header
required

Query Parameters

offset
integer

Offset for pagination.

Example:

0

limit
integer

Limit the number of results returned.

Example:

10

Search term to filter lists.

Example:

"Marketing"

Response

200
application/json

Retrieved all Lists for account successfully

The response is of type object[].