Just noticed that my C# code fails when trying to trigger an outbound call via the CXone Personal Connection API. I am using the standard HttpClient pattern.
The docs state: “POST /api/v2/connections/outbound to initiate a new outbound connection.” But I get a 400 Bad Request.
- Endpoint: /api/v2/connections/outbound
- Method: POST
- Error: 400
Here is my JSON payload:
{"to": [{"phoneNumber": "+15550199"}], "from": {"phoneNumber": "+15550100"}}
Why does it fail?