Verifying makes the Layout account
In production, the code a person reads back to POST /v1/users/:id/verify now makes their own Layout account, on the number they just proved. There is no join page for anyone you provision.
What changed
- Verify answers
active. A good code answers"status": "active"and"claimed": true, as sandbox already did, where production answered"status": "provisioned"and"claimed": false. - One person, many applications. When the number's only Layout account was made by another application's verify, provisioning answers
next: "verify", as for a new number. The text readsLayout: 123456 connects Acme Assistant to your existing Layout account, and Acme Assistant can then place orders for you., and a good code connects you to that account. You learn nothing about the other application. - A person's own Layout sign-in is unchanged. When the person signs in to Layout on the number themselves, provisioning still answers
awaiting_user_approvalorconnect, and verify still answersauthorized: falsewithnext: "connect". - New confirm step. A confirm for a person who has not verified with your application answers
403 build_onlywitherror.next.stepverify_required, and no url.sign_up_requiredandlink_expiredare no longer sent. handoffUrlis not for people. It is still in the provisioning answer. Do not send anyone to it.
Why it matters
A person you provision orders from your product without ever opening a Layout page to join. A person several applications reach has one Layout account, with one card.
What to do
- Verify everyone you provision with
POST /v1/users/:id/verify/startandPOST /v1/users/:id/verify, and stop sendinghandoffUrl. - Handle
verify_requiredon a confirm by verifying the person, then confirming again. - Tell the person about Layout in your own words before the first code reaches them.
See Verify their phone and Introduce Layout first.
Breaking changes
- Code that reads
claimed: falseafter a production verify, or waits for the person to sign up to Layout, now seesclaimed: trueat once. - Code that branches on
sign_up_requiredorlink_expiredno longer sees them. Branch onverify_required.