Skip to main content
GET
cURL
Return this program’s exports, newest first: any still pending or processing, those whose file is still downloadable, and any that failed in the last seven days.

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

Query Parameters

limit
integer
default:100

Max number of resources to return per request

Required range: 1 <= x <= 500
cursor
string

Fetch another page of results using a cursor returned in a previous response

Response

200

exports
(Pending customer export · object | Processing customer export · object | Completed customer export · object | Expired customer export · object | Failed 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

cursor
object
required

Cursors that can be used to fetch the previous or next page of results. If a cursor is null, it means there are no more results in that direction