Create a personal access token (shown exactly once). Requires a workspace with paid-feature access (403 pro_plan_required otherwise); at most 10 active keys per user (409 invalid_request).

post/v1/api-keys

Request

  • Base URL
    https://api.usebubbles.com
  • Auth
    HTTP bearer

Request body

namestring required

A human-readable name for the key (1–100 chars).

Response

Created.

idstring required

The key id.

namestring required

The key name.

tokenstring required

The full personal access token (bbls_pat_…) — shown ONCE; store it now.

token_previewstring required

A safe-to-show token preview.

created_atstring required

Creation instant (ISO-8601 UTC).

Changes

No recorded changes to this operation across all 1 revision of this API.