v1

latestOpenAPI 3.0.12026-07-2471135326.0 KB
Lists

Export List

This endpoint allows you to export a list to CSV file and sends it to an email.

post/v3/lists/{listId}/export

Path parameters

listIdinteger required

Provide the unique ID of the list

Request body

tostring required

Email address to send

segmentIdstring

Id of a segment

languagestring

Abbreviation of the language in which the mail will be sent

callbacksstring[]

Example request

{
  "to": "email@service.com",
  "segmentId": "507f1f77bcf86cd799439011",
  "language": "en"
}

Response

Successfully exported the list.

Example response

{
  "meta": {
    "timestamp": 1597166699457,
    "transactionId": "70169d77-c165-4795-9932-35b8a3af96fb",
    "explain": "a descriptive text"
  }
}