Get your API key for another account

View as Markdown

Returns the authenticated identity’s own API key for accountId, so a client can switch which account it is acting on. Only accounts listed by List accounts you can access are permitted; the key returned always belongs to the calling identity, never to another person.

Authentication

AuthorizationBearer

Your Dial API key, sent as Authorization: Bearer sk_live_...

Path parameters

accountIdstringRequired

Response

The caller's API key for that account.
accountIdstring
apiKeystring

Errors

401
Unauthorized Error
404
Not Found Error