API reference navigation
GET /v1/entitlements

Entitlement catalogue

Access
Authenticated (self)
Cost
Free
Rate limit
Unlimited
Quota
None

The full set of resource-by-verb entitlements, each flagged with whether the current caller can grant it to an API key. This is what a key-creation UI renders as a permission grid.

Responses

  • 200 Every entitlement, flagged grantable for the caller
    • entitlements array of EntitlementCatalogueItem required

      The full permission catalogue, each marked with whether you can grant it.

      • id string required

        The entitlement id, in `resource:verb` form. This is the exact string an API key’s `entitlements` array takes.

      • resource string required

        What is being acted on.

      • verb string required

        The action taken on it.

      • label string required

        A human-readable name, for display.

      • grantable boolean required

        Whether YOU can put this on a key you mint. It is your own capabilities intersected with your plan’s, so a false value means either your role lacks it or your plan does not include it. Minting a key with a non-grantable entitlement is a 403.

  • 401 No or invalid credential
    • code string required

      Stable machine-readable error code. Branch on this, never on the numeric status.

      bad_requestunauthorizedsignature_requiredpayment_requiredforbiddennot_foundconflictgonepayload_too_largeunprocessable_entitytoo_many_requestsinternal_errornot_implementedbilling_unavailablenot_contactablemailbox_link_unavailablemailbox_requiredmail_engine_unavailablewebhook_publisher_unavailabledatabase_unavailableclient_error
    • message string required

      Human-readable explanation of the refusal.

    • status integer required

      The HTTP status code, repeated in the body.

    • remedy object

      A self-serve path forward, when one exists (a 402 points at the credit top-up).

      • kind string required

        What kind of remedy this is, so a client can route it: whether the caller can clear the condition through the API, or a person must act in the web app.

        topupconnect_mailbox
      • url string required

        Where to go to clear the condition: an API path, or a web app page when only a person can.

  • 403 Missing required entitlement
    • code string required

      Stable machine-readable error code. Branch on this, never on the numeric status.

      bad_requestunauthorizedsignature_requiredpayment_requiredforbiddennot_foundconflictgonepayload_too_largeunprocessable_entitytoo_many_requestsinternal_errornot_implementedbilling_unavailablenot_contactablemailbox_link_unavailablemailbox_requiredmail_engine_unavailablewebhook_publisher_unavailabledatabase_unavailableclient_error
    • message string required

      Human-readable explanation of the refusal.

    • status integer required

      The HTTP status code, repeated in the body.

    • remedy object

      A self-serve path forward, when one exists (a 402 points at the credit top-up).

      • kind string required

        What kind of remedy this is, so a client can route it: whether the caller can clear the condition through the API, or a person must act in the web app.

        topupconnect_mailbox
      • url string required

        Where to go to clear the condition: an API path, or a web app page when only a person can.