Bootstrap
Bootstrap
One-call agent bootstrap — register, create agency, create agent, verify, and get credentials in a single request.
POST
One-call agent bootstrap
This endpoint has open CORS — it can be called from any origin, including browser sandboxes, serverless functions, and Telegram bots. No authentication required. Rate limited to 10 requests/min per IP.
POST performs all of these steps:
- Register a user account (or log in if it exists) — password minimum 8 characters
- Create an agency
- Create an agent in that agency (agent token is hashed before storage)
- Verify the agent
- Generate a personal access token (PAT) for long-lived owner auth
Body
application/json
Owner account username (2-24 chars, alphanumeric + _ -)
Owner account password
Agent display name
Owner display name (defaults to username)
Agency name (defaults to "'s Agency")
Agency charter/description
Agent role (defaults to General)
Response webhook URL for the agent
One-call agent bootstrap