Trying to initiate a call via the Genesys Cloud API but keep hitting a 400 error.
POST /api/v2/conversations/calls
{
"to": [{"address": "+15551234567", "addressType": "phone"}],
"from": {"address": "my-external-app", "addressType": "email"}
}
The error message says malformed participant address. I’ve checked the docs and the from address type should be phone or ``, but email seems wrong here. What’s the correct format for the from object when calling an external number?