Skip to main content
GET
cURL
Poll this to follow an export’s progress and to collect its file. A completed export carries a fresh download_url on every response, valid for six hours, so fetch the file soon after reading one, or read this endpoint again for a new link. Seven days after completing, the file is deleted and the export reports expired.

Authorizations

Authorization
string
header
required

An API key linked to a Program in LoyaltyLion, with a set of permissions (scopes). API keys can be created manually, or acquired through an OAuth2 flow. The API key should be provided as a Bearer token in the Authorization header

Path Parameters

id
number
required

The ID of the export

Response

200

export
Pending customer export · object
required

An export moves from pending to processing to completed, and to expired once its file is deleted seven days later; a run that cannot finish ends failed. Which fields are present depends on its status