For the complete documentation index, see llms.txt. This page is also available as Markdown.

Create user telephone number verification code

GraphQL endpoint: /user

Generates a verification code (OTP) for an unverified telephone number. The verification code will be sent via SMS to the telephone number and can be used to verify ownership.

Query

mutation (
  $telephoneNumberId: ID!
) {
  createUserTelephoneNumberVerificationCode (
    telephoneNumberId: $telephoneNumberId
  ) {
    expiresAt
    remainingOtpAttempts
    nextOtpAt
    otpStatus
  }
}

Variables

Response

Last updated