cURL
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 }'
O parâmetro deve ser o instanceName da sessão.
Apikey
O nome da sessão (instanceName) que você deseja autenticar
Mobile phone number in international format
"12132132130"
How would you like to receive the one time code for registration? |sms|voice. Leave empty for Web pairing.
null