The four hand-offs
Step 1: start the signup
POST /v1/signup is the only Datalyr API route that needs no key. It sends one
verification email and returns one field.
Step 2: the person verifies and pays
The link signs the person in and lands them on the new-workspace form, prefilled with the name and domain you sent. They pick a plan and complete a Stripe checkout hosted by our billing provider. The workspace row is created when that payment settles. Until then no workspace exists, no API key exists, and no data can be sent or read. Give the person the signup email address you used and tell them to expect the link. Do not ask them for card details, and do not accept any.Step 3: setup
Ask the person for two things once their workspace is live.- Install tracking. Point them at Install web tracking or Mobile.
- Create a named API key with the scopes you need. See API keys.
Step 4: confirm it works
GET /v1/onboarding needs an Agent key, so it answers only after step 2. Read
next_steps, drive one item, then read it again.
Confirm the install by watching
first_event_seen_at change from null to a timestamp
after the person adds the snippet. A 200 on the key alone proves only that the key
works.
What an agent cannot do
These four are human actions by design, not gaps to work around.
MCP has no signup tool for the same reason. MCP needs an OAuth token, which needs an
account that already exists. Use
POST /v1/signup before that point, and
get_onboarding_status after it.