Trying to understand the specific validation constraints applied to custom disposition mappings when provisioning outbound campaigns via the Platform API.
Our AppFoundry integration handles campaign lifecycle management for clients using multi-org OAuth setups. We are currently encountering a 422 Unprocessable Entity response when attempting to create a campaign with custom disposition IDs that do not match the default schema provided in the Genesys Cloud documentation. The error payload indicates that the disposition ID provided is invalid or already in use, despite verifying that the ID is unique within the tenant and correctly formatted as a UUID.
The API endpoint in question is POST /v2/outbound/campaigns. The request body includes a dispositions object with custom IDs and descriptions. We have confirmed that the service account has the necessary campaign:admin and campaign:write scopes. The issue appears to be intermittent, suggesting a potential caching layer or a backend validation rule that is not explicitly documented.
We have tested this with multiple tenants and consistently receive the 422 error when using custom dispositions that deviate from the standard naming convention. The error message is not descriptive enough to pinpoint the exact validation failure. It would be helpful to know if there are specific character limits, reserved keywords, or naming conventions that must be adhered to for custom dispositions.
Additionally, we have noticed that the 422 error does not provide a clear path for resolution, requiring manual intervention in the UI to identify the conflicting disposition. This is not scalable for our automated provisioning workflows.
Has there been any recent change to the validation logic for outbound campaign dispositions? Any insights into the expected format or constraints for custom disposition IDs would be greatly appreciated. We are aiming to ensure our integration remains robust and compliant with Genesys Cloud’s API standards.
Thank you for your assistance.