Skip to main content
GET
/
v1
/
exports
/
{export_Id}
Download Export
curl --request GET \
  --url https://{cluster}.voucherify.io/v1/exports/{export_Id} \
  --header 'Authorization: Bearer <token>' \
  --header 'X-App-Id: <api-key>' \
  --header 'X-App-Token: <api-key>'
"ID,Code,Voucher Type,Value v_mKNYXWf5168jyW3EvwnAf73d7vnTiXaa,iuCvt3BT,GIFT_VOUCHER,2000.00 v_xb5KuIw90ViUY7NrNbDZzf1JwFmyTUi0,M3X8IwW8,GIFT_VOUCHER,2000.00 v_flCSHFGOfjxuM582jhriJTWQuetb2xHX,6vpzmKaC,GIFT_VOUCHER,2050.00 v_YtzZG4UJaWm9DNCY3AvIqVbc7Dt5WToU,lRvBOUPl,LOYALTY_CARD,0"

Authorizations

X-App-Id
string
header
required
X-App-Token
string
header
required
Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

export_Id
string
required

Unique export object ID.

Example:

"exp_ex6zq0x0EEa9S0N68QcqhxcQ"

Query Parameters

token
string

Token that was issued to the export, to get this token, get the export first

Response

Returns contents of CSV file.

The response is of type string.

I