API

Verify phone number

Verifies a phone number by sending a unique code to it.

The code is then used in conjuction with the phone number to create a new user or verify an existing one.

This endpoint can also be used to verify phone numbers of users that have authenticated with external identity providers.

POST/v1/marketplace/user/verify_phone_number

Request Body

application/json

phone_number?string
Example"8124132"
phone_country_code?string
Example"354"

Response Body

application/json

application/json

application/json

curl -X POST "https://api.noona.is/v1/marketplace/user/verify_phone_number" \  -H "Content-Type: application/json" \  -d '{}'
{
  "next_retry_at": "2022-01-01T00:00:00Z"
}
{
  "type": "verify_phone_number_error",
  "message": "Verification already in progress",
  "code": "verification_in_progress"
}
{
  "type": "verify_phone_number_error",
  "message": "Verification already in progress",
  "code": "verification_in_progress"
}