Skip to main content
POST
/
Agent
/
Account
/
VerifyPhoneNr
Verify Phone Nr
curl --request POST \
  --url https://{host}/Agent/Account/VerifyPhoneNr \
  --header 'Content-Type: application/json' \
  --data '
{
  "phoneNr": "<string>",
  "code": 123
}
'
{
  "phoneNr": "<string>",
  "userName": "<string>"
}

Overview

Verifies a phone number corresponding to an account that is being created. When creating an account using /Account/Create, the account is at first disabled. This means, it cannot be used actively in the API. To enable an account, you need to verify the e-mail address provided when creating the account. If providing a phone number, you need to verify the phone number as well. If not providing a phone number you can skip this step. The account creation call will send an e-mail with a code to the e-mail address, as well as an SMS to the phone number, if such is provided. The code sent to the phone number needs to be provided in a call to this resource, together with the phone number

Authentication

No authentication required.

Notes

This endpoint uses the request schema notation described in Pattern matching.

Body

application/json
phoneNr
string
required
code
integer
required

Response

200 - application/json

Success

phoneNr
string
required
userName
string
required