Onboarding

Sign up an agent and get a key + inbox

Provision a brand-new account entirely in code: this creates a tenant, a first inbox, and a first API key, then emails a 6-digit verification code to `human_email`. Call `verify` with that code to activate the account. This is the one unauthenticated endpoint — you use it to obtain your first API key, so there is no key to present yet. The `api_key` in the response is shown **once** and is never retrievable again — store it securely. Calling `sign_up` again with the same `human_email` is safe and idempotent: it returns the **same** account with a freshly **rotated** `api_key` (the previous key stops working) and re-sends the verification code if the previous one has expired — it never creates a duplicate account.

POST
/sign_up

Provision a brand-new account entirely in code: this creates a tenant, a first inbox, and a first API key, then emails a 6-digit verification code to human_email. Call verify with that code to activate the account.

This is the one unauthenticated endpoint — you use it to obtain your first API key, so there is no key to present yet.

The api_key in the response is shown once and is never retrievable again — store it securely. Calling sign_up again with the same human_email is safe and idempotent: it returns the same account with a freshly rotated api_key (the previous key stops working) and re-sends the verification code if the previous one has expired — it never creates a duplicate account.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

The details an agent supplies to provision itself an account.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/sign_up" \  -H "Content-Type: application/json" \  -d '{    "human_email": "user@example.com"  }'
{  "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",  "inbox_id": "string",  "api_key": "string"}
{  "name": "string",  "message": "string"}
{  "name": "validation",  "errors": {    "property1": "string",    "property2": "string"  }}