Skip to content

Provisioning API · Internal testing only

getInbox

GET
/inboxes/{inb}
curl --request GET \
--url https://api.builders.ac/api/provisioning/v1alpha1/inboxes/inb_01k5nc9te4vr7bd2hq8ym3xz6a \
--header 'Authorization: Bearer <token>'
inb
required
string
>= 30 characters <= 30 characters /^[iI][nN][bB]_[0-7][0-9a-hjkmnp-tv-zA-HJKMNP-TV-Z]{25}$/

Inbox TypeIDs are accepted case-insensitively. Responses use canonical lowercase.

Inbox. The password is present only here, only for accounts entitled to it, and is always sealed to the request API Key; an account without that entitlement receives the same body with no password key.

Media typeapplication/json
object
id
required

Canonical lowercase TypeID.

string
>= 30 characters <= 30 characters /^inb_[0-7][0-9a-hjkmnp-tv-z]{25}$/
object
required
Allowed value: inbox
workspace_id
required

Canonical lowercase TypeID.

string
>= 30 characters <= 30 characters /^wsp_[0-7][0-9a-hjkmnp-tv-z]{25}$/
domain_id
required

Canonical lowercase TypeID.

string
>= 30 characters <= 30 characters /^dom_[0-7][0-9a-hjkmnp-tv-z]{25}$/
email
required

Immutable full mailbox address.

string format: email
<= 255 characters
display_name
required
string
<= 255 characters
persona_id
required
One of:

Canonical lowercase TypeID.

string
>= 30 characters <= 30 characters /^per_[0-7][0-9a-hjkmnp-tv-z]{25}$/
state
required
string
Allowed values: pending provisioning active failed deprovisioning deprovisioned
sequencer
required
One of:
object
provider
required
string
Allowed values: smartlead instantly plusvibe bison other
remote_workspace
required
string | null
remote_id
required
string | null
state
required
string
Allowed values: not_uploaded uploading uploaded failed disconnected
external_id
required
string | null
>= 1 characters <= 255 characters
created_at
required
string | null format: date-time
updated_at
required
string | null format: date-time
password

Present only when Mailbox Upload is enabled for the account; always sealed to the request API Key.

object
ciphertext
required

An ASCII-armored age v1 file. Response values are sealed to the API Key used for the request; request values are sealed to a recipient published by GET /encryption-keys.

string
>= 1 characters <= 65536 characters
Example
{
"id": "inb_01k5nc9te4vr7bd2hq8ym3xz6a",
"object": "inbox",
"workspace_id": "wsp_01k5n2rf8bd3xa9e7m4jt6vq5h",
"domain_id": "dom_01k5nb3wz7q2hj8vd4rt6ye9ma",
"email": "ava.stone@northwind-outbound.com",
"display_name": "Ava Stone",
"persona_id": "per_01k5n7qd2vb8ye4ka3mzt9rf6x",
"state": "pending",
"sequencer": {
"provider": "smartlead",
"remote_workspace": "118427",
"remote_id": "9f43a1c0",
"state": "not_uploaded"
},
"external_id": "crm-8421",
"created_at": "2026-04-15T09:15:04Z",
"updated_at": "2026-04-16T11:02:37Z",
"password": {
"ciphertext": "-----BEGIN AGE ENCRYPTED FILE-----\nYWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBHd0pQTGdGMlkxSjhkUzBu\nCg==\n-----END AGE ENCRYPTED FILE-----\n"
}
}
Cache-Control
string
Allowed value: private, no-store

private, no-store because the response contains a sealed secret.

x-correlation-id
string

The id of this request, echoed on every response and repeated in the correlation_id member of a problem body. Quote it in support requests.

Authentication required. The example shows authentication_required; this status is also answered with invalid_api_key. Branch on code, not on the status.

Media typeapplication/problem+json
object
type
required
string format: uri-reference
title
required
string
status
required
integer
detail
required
string
code
required

Extensible enum. Branch on this, never on title. New codes may appear at any time, so treat an unrecognised one as its HTTP status; GET /problems lists every code this version can answer with, and GET /problems/{code} resolves one.

string
retryable
required
boolean
retry_after
string format: date-time
correlation_id
required
string
errors
object
key
additional properties
Array<string>
Example
{
"type": "https://api.builders.ac/api/provisioning/v1alpha1/problems/authentication_required",
"title": "Authentication required",
"status": 401,
"detail": "Provide an active Provisioning API Key as a Bearer token.",
"code": "authentication_required",
"retryable": false,
"correlation_id": "9f1c2b7a-3d5e-4c81-9a77-2f6b0e4d51c3"
}
x-correlation-id
string

The id of this request, echoed on every response and repeated in the correlation_id member of a problem body. Quote it in support requests.

Account inactive. The example shows account_inactive; this status is also answered with insufficient_proof. Branch on code, not on the status.

Media typeapplication/problem+json
object
type
required
string format: uri-reference
title
required
string
status
required
integer
detail
required
string
code
required

Extensible enum. Branch on this, never on title. New codes may appear at any time, so treat an unrecognised one as its HTTP status; GET /problems lists every code this version can answer with, and GET /problems/{code} resolves one.

string
retryable
required
boolean
retry_after
string format: date-time
correlation_id
required
string
errors
object
key
additional properties
Array<string>
Example
{
"type": "https://api.builders.ac/api/provisioning/v1alpha1/problems/account_inactive",
"title": "Account inactive",
"status": 403,
"detail": "This account is inactive.",
"code": "account_inactive",
"retryable": false,
"correlation_id": "9f1c2b7a-3d5e-4c81-9a77-2f6b0e4d51c3"
}
x-correlation-id
string

The id of this request, echoed on every response and repeated in the correlation_id member of a problem body. Quote it in support requests.

Not found. The example shows not_found.

Media typeapplication/problem+json
object
type
required
string format: uri-reference
title
required
string
status
required
integer
detail
required
string
code
required

Extensible enum. Branch on this, never on title. New codes may appear at any time, so treat an unrecognised one as its HTTP status; GET /problems lists every code this version can answer with, and GET /problems/{code} resolves one.

string
retryable
required
boolean
retry_after
string format: date-time
correlation_id
required
string
errors
object
key
additional properties
Array<string>
Example
{
"type": "https://api.builders.ac/api/provisioning/v1alpha1/problems/not_found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found.",
"code": "not_found",
"retryable": false,
"correlation_id": "9f1c2b7a-3d5e-4c81-9a77-2f6b0e4d51c3"
}
x-correlation-id
string

The id of this request, echoed on every response and repeated in the correlation_id member of a problem body. Quote it in support requests.

Rate limit exceeded. The example shows rate_limit_exceeded.

Media typeapplication/problem+json
object
type
required
string format: uri-reference
title
required
string
status
required
integer
detail
required
string
code
required

Extensible enum. Branch on this, never on title. New codes may appear at any time, so treat an unrecognised one as its HTTP status; GET /problems lists every code this version can answer with, and GET /problems/{code} resolves one.

string
retryable
required
boolean
retry_after
string format: date-time
correlation_id
required
string
errors
object
key
additional properties
Array<string>
Example
{
"type": "https://api.builders.ac/api/provisioning/v1alpha1/problems/rate_limit_exceeded",
"title": "Rate limit exceeded",
"status": 429,
"detail": "Too many requests were made for this policy.",
"code": "rate_limit_exceeded",
"retryable": true,
"correlation_id": "9f1c2b7a-3d5e-4c81-9a77-2f6b0e4d51c3",
"retry_after": "2026-04-15T09:16:04Z"
}
x-correlation-id
string

The id of this request, echoed on every response and repeated in the correlation_id member of a problem body. Quote it in support requests.

Service unavailable. The example shows service_unavailable; this status is also answered with encryption_keys_unavailable, provider_unreachable. Branch on code, not on the status.

Media typeapplication/problem+json
object
type
required
string format: uri-reference
title
required
string
status
required
integer
detail
required
string
code
required

Extensible enum. Branch on this, never on title. New codes may appear at any time, so treat an unrecognised one as its HTTP status; GET /problems lists every code this version can answer with, and GET /problems/{code} resolves one.

string
retryable
required
boolean
retry_after
string format: date-time
correlation_id
required
string
errors
object
key
additional properties
Array<string>
Example
{
"type": "https://api.builders.ac/api/provisioning/v1alpha1/problems/service_unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "Retry the request later; the service is temporarily unavailable.",
"code": "service_unavailable",
"retryable": true,
"correlation_id": "9f1c2b7a-3d5e-4c81-9a77-2f6b0e4d51c3"
}
x-correlation-id
string

The id of this request, echoed on every response and repeated in the correlation_id member of a problem body. Quote it in support requests.