Skip to main content
GET
Export the code pool

Authorizations

Authorization
string
header
required

API key from the Rigaly dashboard: Authorization: Bearer rgly_sk_...

Path Parameters

id
string<uuid>
required

Query Parameters

format
enum<string>
default:csv
Available options:
csv,
json

Response

Pool file (streamed download)

The response is of type string.

Example:

"value,status,consumed_at,redemption_id\n\"NFLX-A1B2C3\",\"consumed\",\"2026-08-01T14:22:31.004Z\",\"9f1c3a2e-5b7d-4e21-9a0c-1f2d3e4b5a67\"\n\"NFLX-D4E5F6\",\"available\",\"\",\"\"\n"