cURL
curl --request GET \ --url https://api.openfiskal.com/v1/auth/api-keys \ --header 'Authorization: Bearer <token>'
{ "object": "<string>", "data": [ { "object": "<string>", "id": "key_01HXYZ", "api_key": "ofk_platform_live_...", "label": "<string>", "description": "<string>", "created_at": "2023-11-07T05:31:56Z", "last_used_at": "2023-11-07T05:31:56Z" } ] }
Returns all active API keys for your platform account. Key values are masked — only the prefix and last four characters are shown.
Platform API key sent as Authorization: Bearer ofk_platform_.... Platform integrators also pass OpenFiskal-Organization: org_xxx to act on behalf of a merchant.
Authorization: Bearer ofk_platform_...
OpenFiskal-Organization: org_xxx
List of platform API keys
"list"
Show child attributes