GET
/
list
/
{listId}
Get List
curl --request GET \
  --url https://api.sendx.io/api/v1/rest/list/{listId} \
  --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

Path Parameters

listId
string
required

The ID of the list you want to retrieve

Example:

"sendx123"

Response

200
application/json

Successfully retrieved the list

The response is of type object.