Overview
When someone opens an onboarding link or invite, they get Composer’s setup page. To build your own setup experience instead, for example inside a mobile app, call the session routes directly. These routes need no API key. The token in the link is what grants access, and it only opens that one conversation. Errors come back as JSON:{ "error": "..." }.
Starting from an invite
Accept: application/json or add ?format=json. Each call starts a new session for a new person.
Talking to the setup assistant
cURL
Loading the conversation
{ "messages": [{ "role": "user" | "assistant", "content", "at" }] }.
Checking progress
?tz= with the person’s IANA time zone.
Claiming the person’s key
When setup has finished, claim the person’s own API key so your app can keep talking to their new assistant.409.