TSGGLOBAL Support sign in
Skip to page content
Browse TNID API docs

TNID API documentation User Email Verify User Email

Verify User Email

On this page

GraphQL endpoint: /user

Verifies a user's email address using the verification code (OTP) that was sent to the email. Once verified, the email address status changes to verified and can be set as primary.

Query

mutation (
  $emailId: ID!
  $code: String!
) {
  verifyUserEmail (
    emailId: $emailId
    code: $code
  ) {
    status
  }
}

Variables

{
  "code": "1",
  "emailId": "00000000-0000-4000-8000-000000000001"
}

Response

{
  "data": {
    "verifyUserEmail": {
      "status": "OK"
    }
  }
}