DotsDocs
Users

Send a Verification Token

Send a user a verification token.

POST
/v2/users/{user_id}/send-verification-token

Send a user a verification token.

Authorization

api_key
headerAuthorizationBasic <token>

Path Parameters

user_id*string

Id of the user to fetch

Request Body

application/json
  1. body
use_voice?boolean

Defaults to false, which sends the token by SMS or WhatsApp. Set true to receive it by call instead.

Defaultfalse

Response Body

Accepted

Example Request
curl -X POST 'https://api.dots.dev/api/v2/users/string/send-verification-token' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
Empty