curl --request POST \
  --url https://api.dots.dev/api/v2/users/{user_id}/send-verification-token \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "use_voice": true
}'

Authorizations

Authorization
string
headerrequired

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

user_id
string
required

Id of the user to fetch

Body

application/json
use_voice
boolean
default: false

Defaults to false which sends token via SMS. Set true to receive via call instead.