Sign in with the link from a code’s email
POST
Signs in with the token of the link in a code’s email (<editor>/sign-in-code#<token>; the token goes in the body, never in an address) and sets the session cookie. The link and its code work once, together. Recorded as user.sign-in (data.method email-code, via link).
application/vnd.api+json- body
data*application/vnd.api+json- response
meta*curl -X POST 'http://localhost:3000/auth/email-code/link' \ -H 'Content-Type: application/vnd.api+json' \ -d '{ "data": { "type": "EmailCodeLink", "attributes": { "token": "string" } }}'Example Response
{ "meta": { "userId": "string" }}