Download a message exportMenu

Download a message export

GET/v1/messages/exports/{id}/download

Requires an API key with the messages:read scope. About keys and scopes

Works with integration, agent and partner keys.

Downloads a ready export as a CSV file, one row per message, newest first. Returns 409 EXPORT_UNAVAILABLE until the export is ready and 410 EXPORT_UNAVAILABLE once it has expired.

Path parameters

idstringrequired

The export's id.

uuid

Header parameters

Kirora-Workspacestringoptional

Partner keys only: the child workspace to act in, by the external id the partner gave it. Without it, a partner key acts in its own workspace. Any other key that sends it is refused with 403, and an unknown workspace is 404.

pattern ^[A-Za-z0-9._:-]{1,128}$

Returns

Returns 200 OK. It can also return 409 Conflict or 410 Gone; see the statuses below. Otherwise returns an error; Errors lists every code and which to retry.

  • 200 OKThe CSV file. Each message is one row, its objects flattened into columns (campaignName, bounceType, skipReason); a cell is "" where the message has no value.
  • 409 ConflictThe request conflicts with current state — a duplicate unique value, or a resource whose status does not allow this operation.
  • 410 GoneThe resource existed but has expired; create a new one.