Create account and container
register_and_provisionCreates or reuses a Tracklution account and the first tracking container for website_url. Mutating: idempotency_key is required (UUID v7).
New email: creates the account, emails a welcome / set-password link (pending_user_activation, welcome_email_sent_to) and returns a 60-minute JWT in data.auth._sensitive_access_token, the auth_token for later onboarding calls in this conversation.
With auth_token instead of email / name: returns the existing-or-new container for (user, website_url).
Errors:
duplicate_account(409): the email has an account; the user signs in at https://app.tracklution.com (setup link: https://app.tracklution.com/account-recovery), thenauth_tokenworks.multi_client_ambiguous(409): several companies, none with a container forwebsite_url;next_action.reasonholds the dashboard URL to create it, then the user re-runs this tool with the samewebsite_urland gets that container.insufficient_permissions(403): creating a NEW container under an existing company requires admin permission (details.required_permission = "admin"); an existing container needs view or higher (details.required_permission = "view"otherwise).errors[0].messageis user-facing.rate_limited(429):retry_after_secondsis the wait;domain:<host>inerrors[0].details.keymeans a per-domain cap.
In a session connected to several servers the returned next_action.args.server_name names the server this container was created on.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | No | ||
| name | No | ||
| No | |||
| phone | No | ||
| company | No | ||
| dry_run | No | ||
| framework | Yes | ||
| auth_token | No | SENSITIVE: existing-user path. JWT held by the agent in memory; passes to /mcp-api/v1/* as Authorization: Bearer. | |
| heard_from | No | ||
| website_url | Yes | ||
| agent_client | Yes | ||
| idempotency_key | Yes | UUID v7 recommended. Required. | |
| event_source_system | No | ||
| onboarding_session_id | No | ||
| onboarding_session_token | No | SENSITIVE: required when onboarding_session_id is supplied and the session has no user yet. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| field | No | ||
| errors | No | ||
| status | No | ||
| details | No | ||
| warnings | No | ||
| rate_limit | No | ||
| http_status | No | ||
| next_action | No |