smartwebchat_prepare_handoff
Prepare a single-use sign-up link for a person: it carries language, industry and your recommended plan into their registration and onboarding. The link expires after 15 minutes and works once. It does not create an account or a trial; the person does that by signing up. Works without authentication. The operator can turn this off; it then answers handoff_disabled. /agents/start shows the current status. Pass idempotencyKey on every retry.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locale | No | Language of the sign-up page, for example 'en'. Unsupported languages fall back to 'de'. | |
| industry_key | No | Industry of the business, one of `how_to_test.agent_demo_contract.industries` in /agents/start. | |
| idempotencyKey | No | Send the same key on every retry of the same request; a retry returns the same link for up to 15 minutes. | |
| demo_session_id | No | Optional demo session id from the scanner demo; its context is restored after sign-up. | |
| recommended_plan | No | Plan you recommend: business, agency, white_label. Only plans with a trial preselect the trial type; the person can change it. |