Verify User Telephone Number
GraphQL endpoint: /user
Verifies a user's telephone number using the verification code (OTP) that was sent via SMS. Once verified, the telephone number status changes to verified and can be set as primary.
Query
mutation (
$telephoneNumberId: ID!
$code: String!
) {
verifyUserTelephoneNumber (
telephoneNumberId: $telephoneNumberId
code: $code
) {
status
}
}
Variables
{
"code": "1",
"telephoneNumberId": "00000000-0000-4000-8000-000000000001"
}Response
Last updated