API referenceAuth
Sign in with an email code
POST
application/json- body
email*stringFormat
emailLength
length <= 254code*stringMatch
^\d{6}$Signed in; sets the session cookie
application/json- response
user*memberships*array<>methods*array<>staff*booleancurl -X POST "https://example.com/v1/auth/email/verify" \ -H "Content-Type: application/json" \ -d '{ "email": "user@example.com", "code": "string" }'{ "user": { "id": "string", "email": "string", "name": "string", "avatarUrl": "string" }, "memberships": [ { "orgId": "string", "orgSlug": "string", "orgName": "string", "role": "owner" } ], "methods": [ "email" ], "staff": true}