Hey folks,
I’m trying to programmatically create a new contact list in Genesys Cloud Outbound using the /api/v2/outbound/contactlists endpoint. The docs say a simple POST with the name and type should work, but I keep getting a 400 Bad Request with an INVALID_VALUE error.
Here is the JSON payload I’m sending:
{
"name": "Test List - API Import",
"type": "CONTACT_LIST",
"contactUri": "https://my-bucket.s3.amazonaws.com/contacts.csv"
}
The error response is pretty vague:
{
"message": "Invalid value for property 'contactUri'",
"code": "invalid_value"
}
I’ve double-checked the S3 URL, and it’s publicly accessible for testing. I also tried swapping it for a generic https://example.com/data.csv just to rule out auth issues with the bucket, but same result.
Is there a specific format required for the contactUri field, or do I need to set something up in the data provider config first before I can reference it here? The SDK doesn’t give much more context than the HTTP error.
Thanks.