Skip to main content
POST
/
api
/
v1
/
sessions
/
{sessionId}
/
auth
/
pairing-code
curl -X POST "https://api.wadial.com/api/v1/sessions/{sessionId}/auth/pairing-code" \
  -H "Authorization: Bearer $WADIAL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"phoneNumber":"15551234567"}'
{
  "data": {
    "code": "ABCD-1234"
  }
}
Pairing code is only for tokens that are not already paired.
curl -X POST "https://api.wadial.com/api/v1/sessions/{sessionId}/auth/pairing-code" \
  -H "Authorization: Bearer $WADIAL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"phoneNumber":"15551234567"}'
{
  "data": {
    "code": "ABCD-1234"
  }
}