Skip to Content
Developers
Keys

The key making this request

Needs no scope. About scopes

Try it with a test key

Sends to https://api.traki.io

Test keys only. The key stays in this page while it is open and is never saved.

/v1/publisher/key

Answers the Publisher API key's own details and the account it is locked to. Needs no scope.

Authorization

key
headerAuthorizationBearer <traki_publisher_…>

Response Body

Success

application/json
  1. response
keyId*string
name*string
api*string
Value in"account""publisher""buyer"
mode*string
Value in"live""test"
scopes*array<string>
version*string
expiresAt*string|null
account*
holder*|null
Example Request
curl 'https://api.traki.io/v1/publisher/key' \  -H "Authorization: Bearer $TRAKI_KEY"
Example Response
{  "keyId": "string",  "name": "string",  "api": "account",  "mode": "live",  "scopes": [    "string"  ],  "version": "string",  "expiresAt": "string",  "account": {    "name": "string",    "timezone": "string",    "currency": "string"  },  "holder": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "name": "string"  }}