Docs

List API keys (the operator sees all; a client's admin key sees its own)

  • In the sandbox

In plain words

Lists the API keys of a client.
GET
/keys

Authorization

apiKey
headerAuthorizationBearer <token>

Send your key as a bearer token: Authorization: Bearer <your-api-key>. Health is the only call that needs no key.

Response body

The keys, without their secrets.

application/json
  1. response
data?array<>
curl -X GET "https://example.com/keys" \  -H "Authorization: Bearer <your-api-key>"
{  "data": [    {      "id": "string",      "client": "string",      "environment": "sandbox",      "scopes": [        "submit"      ],      "label": "string",      "created_at": "2019-08-24T14:15:22Z",      "revoked_at": "2019-08-24T14:15:22Z",      "also_revoked": [        "string"      ]    }  ]}