POST
/
api
/
{session}
/
auth
/
request-code
Solicitar código de autenticação.
curl --request POST \
  --url https://api.wappfy.com.br/api/{session}/auth/request-code \
  --header 'Content-Type: application/json' \
  --header 'apikey: <api-key>' \
  --data '{
  "phoneNumber": "12132132130",
  "method": null
}'

Authorizations

apikey
string
header
required

Apikey

Path Parameters

session
string
required

O nome da sessão (instanceName) que você deseja autenticar

Body

application/json
phoneNumber
string
required

Mobile phone number in international format

Example:

"12132132130"

method
string

How would you like to receive the one time code for registration? |sms|voice. Leave empty for Web pairing.

Example:

null