Skip to main content
GET
Describe the account, the credential and the signed-in person.

Authorizations

Authorization
string
header
required

A person's session: Authorization: Bearer <ID token>, the ID token the Sendblue sign-in issues. The person acts in their company's root account with the role of their seat.

Headers

Sendblue-Account
string

The account a person acts in: the root account of their company (the default) or one of its active subaccounts. Accepted on every operation with a person's session, and only with one.

Pattern: ^AC[0-9a-f]{32}$

Response

The account the request acts in.

id
string
required

The account the request acts in.

name
string
required
status
enum<string>
required
Available options:
active,
suspended,
closed
type
enum<string>
required
Available options:
root,
subaccount
parent_id
string | null
required

The parent account's ID, for a subaccount.

credential
object
required
permissions
enum<string>[]
required

Effective permission names in lexical order. Grants are immutable after issuance.

Available options:
accounts:create,
billing:history,
billing:read,
billing:refill,
billing:top_up,
brands:read,
brands:write,
calls:create,
calls:read,
calls:write,
campaigns:read,
campaigns:write,
company_settings:read,
contacts:read,
contacts:write,
keys:manage,
me:read,
media:read,
media:write,
messages:read,
messages:send,
messages:write,
number_orders:cancel,
number_orders:create,
number_orders:read,
numbers:purchase,
numbers:read,
numbers:release,
numbers:write,
operations:read,
prices:read,
recordings:read,
recordings:write,
settings:read,
settings:write,
subaccounts:manage,
tags:read,
tags:write,
team:manage,
team:read,
variables:read,
variables:write,
webhooks:manage,
webhooks:receive,
workflows:read,
workflows:write
capabilities
enum<string>[]
required

The resource groups this credential can use on this deployment. A group is listed when its routes are live and available to the credential. balance grants the balance read. billing also grants access to the billing journal. Contacts, tags, variables and workflows appear for grants with available routes in the root account when company resources are available on this deployment. The media group covers uploads and reads of uploaded media. Team is listed for an eligible root admin session or root account token. Directory reads recheck a signed-in admin’s current role.

Available options:
messages,
numbers,
brands,
campaigns,
prices,
operations,
contacts,
tags,
variables,
workflows,
calls,
recordings,
balance,
billing,
keys,
subaccounts,
top_ups,
webhooks,
media,
team
created_at
string<date-time> | null
required
user
object

The signed-in person. Present for a session only.