Skip to content

List enrollment tokens

GET
/v1/admin/orgs/{org_id}/projects/{project_id}/enrollment-tokens
org_id
required
string
project_id
required
string
include_revoked
boolean
limit
integer
default: 50 >= 1 <= 100

Page size for the cursor-paginated agent surface (default 50; clamped to the 1-100 range).

page
string

Opaque page token echoed back from a prior next_page. Used by the legacy offset-paginated admin/console list surface; the cursor-paginated agent surface uses Cursor (?cursor) instead.

Ok

object
tokens
Array<object>
object
id
string
label
string
prefix
string
scopes
Array<string>
max_mailboxes
integer
daily_send_limit
integer
used_count
integer
reusable
boolean
revoked
boolean
created_at
string format: date-time
next_page
string

Missing or invalid credential.

The canonical error envelope. error is a stable machine code.

object
error
required

Stable error code (e.g. unauthorized, forbidden, not_found, invalid, quota_exceeded, rate_limited).

string
Example
forbidden
message

Human-readable detail (never leaks internals).

string
Example
missing required scope