v2 - Agents

Create Agent

Create a new agent key.

Returns the raw secret once — caller must store it securely. Publish scopes are off by default and require a paid plan. The splits permission may be set by the signed-in owner, never by an agent key.

post/v2/agents

Request

  • Base URL
    https://api.jubjubapp.com (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Headers

Authorizationstring
X-JubJub-Service-Keystring
X-JubJub-Agent-Keystring
X-JubJub-Platform-Keystring
Originstring
Refererstring
X-JubJub-Trial-Tokenstring

Request body

namestring required
scopesobject nullable

Scope overrides. Missing keys use defaults. Publish scopes default to false.

is_trusted_publishboolean

Allow this agent to use publish:execute and publish:schedule scopes.

Response

Successful Response

agent_idstring required
namestring required
owner_profile_idstring required
statusstring required
scopesobject required
is_trusted_publishboolean required
raw_keystring required

The raw secret key. Store it securely — it will NOT be shown again.

created_atstring required

Changes

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