Skip to main content
GET
Get the current credential

Authorizations

Authorization
string
header
required

Use a Terminal49 API key in the Authorization header with the Token prefix.

Authorization: Token YOUR_API_KEY

Headers

x-account-id
string<uuid>

Select an account accessible to the signed-in user. Defaults to the user's primary account. API keys remain scoped to their own account.

Response

OK

data
Credential model · object
required

The credential that authenticated the current request. Returned only by GET /me.

included
(Credential account · object | Credential user · object)[]
required

Includes the current account, the linked user when present, and every account in that user's accounts relationship. Linked resources are always included.

Minimum array length: 1

An account as GET /me describes it. Narrower than the account relationship elsewhere in the API.