Trying to kick off a outbound call via the REST API. Getting a 400 Bad Request. The error message is vague: malformed participant address.
Here’s the payload I’m sending to POST /api/v2/conversations/calls:
{
"to": {
"phoneNumber": "+15550199"
},
"from": {
"phoneNumber": "+15550100"
},
"mediaType": "audio"
}
The phone numbers look fine. Standard E.164. No spaces, no parentheses. I’ve tried swapping them. Same error.
- Genesys Cloud Org: US-1
- Auth: Service Account with
conversation:writescope - Endpoint:
/api/v2/conversations/calls - Status: 400
I checked the docs. The schema matches. Maybe it’s the to object structure? Or is there a hidden validation rule for the from number that I’m missing?
Here’s the full response body:
{
"errors": [
{
"message": "malformed participant address",
"code": "invalid_param"
}
]
}
What am I missing?