Skip to main content

Verify a user's phone number

PATCH /api/v1/users/:userId/phone/:token/verify

Description

Verify a user's phone number.

Headers:

  • Content-Type: application/json
  • Authorization: Bearer {{bearerToken}}

URL: /api/v1/users/:userId/phone/:token/verify

  • Path Parameters:
    • userId (Required): User ID
    • token (Required): Phone verification token

Response: The response is "OK" with a code of 200.

/api/v1/users/:userId/phone/:token/verify

🔑 Authentication bearer

ParamvalueType
tokenbearerTokenstring

Response: 200

LANGUAGE

AUTHORIZATION

Bearer

CURL REQUEST


curl --request PATCH \ 
--url /api/v1/users/:userId/phone/:token/verify \
--header 'accept: application/json' \
--header 'content-type: application/json'

RESPONSE


Click Try It! to start a request and see the response here!