Get the calling key
GET/v1/me
- Any API key
The API key making the request: its team, scopes, the lines it's limited to, and whether it's draft-only. A quick way to check a key works.
Response
200 OKThe key.
object"api_key_identity"requiredkey_idstringrequiredkey_…tenant_idstringrequiredten_…scopesarray of stringrequiredprofile_idsarray of string or nullrequireddraft_onlybooleanrequired
Errors
| Status | Code | Means |
|---|---|---|
| 400 | validation_failed | A field is missing or invalid. |
| 401 | unauthorized | The API key is missing, unknown or revoked. |
| 403 | insufficient_scope | The API key lacks the scope this needs. |
| 404 | not_found | No such object, or the key can't see it. |
Every error is { "error": { "code", "message" } }. All error codes.