v4

OpenAPI 3.1.02026-08-0255174167.5 KB
members

Get your API key for another account

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.

post/api/v1/memberships/{accountId}/key

Path parameters

accountIdstring required

Headers

Authorizationstring required

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

Response

The caller's API key for that account.

accountIdstring required
apiKeystring required