curl -X POST "https://api.wadial.com/api/v1/sessions" \
-H "Authorization: Bearer $WADIAL_API_KEY" \
-H "Content-Type: application/json" \
-d '{"displayName":"Support line","deviceBrowser":"Chrome"}'
{
"data": {
"sessionId": "019eff5e-e24e-74ce-a9bb-ccd97e6946b6",
"displayName": "Support line",
"status": "created",
"paired": false,
"connected": false,
"connectionState": "created"
}
}
API Reference
Create token
Create a WhatsApp session token.
POST
/
api
/
v1
/
sessions
curl -X POST "https://api.wadial.com/api/v1/sessions" \
-H "Authorization: Bearer $WADIAL_API_KEY" \
-H "Content-Type: application/json" \
-d '{"displayName":"Support line","deviceBrowser":"Chrome"}'
{
"data": {
"sessionId": "019eff5e-e24e-74ce-a9bb-ccd97e6946b6",
"displayName": "Support line",
"status": "created",
"paired": false,
"connected": false,
"connectionState": "created"
}
}
Creates a stable token your app can use for pairing, connection checks, and message sends.
curl -X POST "https://api.wadial.com/api/v1/sessions" \
-H "Authorization: Bearer $WADIAL_API_KEY" \
-H "Content-Type: application/json" \
-d '{"displayName":"Support line","deviceBrowser":"Chrome"}'
{
"data": {
"sessionId": "019eff5e-e24e-74ce-a9bb-ccd97e6946b6",
"displayName": "Support line",
"status": "created",
"paired": false,
"connected": false,
"connectionState": "created"
}
}
Was this page helpful?
⌘I