Skip to content
signInMutation
signIn(email: String!, redirect: String, businessHandle: String): RequestAuthCodeResult!

Request a sign-in email containing a 6-digit code. Always returns success regardless of whether the email matches an existing account (anti-enumeration).

When businessHandle is set, the issued code is pinned to that business and the resulting token is scoped to it (does not set a cross-account cookie). Used by the business-pinned embed sign-in flow.

Arguments

emailString!
redirectString
businessHandleString

Returns

RequestAuthCodeResult!

See RequestAuthCodeResult for the full shape.

Try it

Send a sign-in code by email
Triggers an email containing a 6-digit code. Always returns success regardless of whether the email matches an account (anti-enumeration).
Query
mutation SignIn($email: String!) {
  signIn(email: $email) {
    __typename
  }
}
Variables
{
  "email": "you@example.com"
}
POST https://go.sessions.website/api/graphql
signIn