ArchFindrDevelopers
API reference

Whoami

GET
/api/v1/key/whoami

Which owner, integration client and scopes the presented API key carries.

Works with any valid key; no scope required.

Authorization

apiKey
headerAuthorizationBearer <token>

An API key created in the vendor workspace. Send it as Authorization: Bearer afk_....

Response Body

Success

application/json
  1. response
owner*|
client*|null
scopes*array<>
curl -X GET "https://example.com/api/v1/key/whoami"
{  "owner": {    "kind": "provider",    "providerId": "string"  },  "client": {    "id": "string",    "name": "string"  },  "scopes": [    "products:read"  ]}