> ## Documentation Index
> Fetch the complete documentation index at: https://docs.wadial.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create pairing code

> Request a WhatsApp pairing code for an unpaired token.

Pairing code is only for tokens that are not already paired.

<RequestExample>
  ```bash cURL theme={null}
  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"}'
  ```
</RequestExample>

<ResponseExample>
  ```json theme={null}
  {
    "data": {
      "code": "ABCD-1234"
    }
  }
  ```
</ResponseExample>
