Hello Guys!
In the definition of the parameters of the POST /api/v2/conversations/emails/agentless endpoint, toAddresses is an array. However, whenever I try to send an email to multiple addresses, it returns a 400 error:
Email address list is too large. Only a maximum of 1 is allowed
Why is it defined as an array if only 1 is allowed? Is it planned to change this in the future?
This`s the Body of request:
{
"senderType": "Outbound",
"fromAddress": {
"email": "test@cc.test.com",
"name": "test"
},
"toAddresses": [{"email":"agent1@outlook.com"},{"email":"agent2@gmail.com"}],
"subject": "prueba",
"textBody": "hola"
}
When the Data Action Execute send the following message:
"message": "REST call for action execute failed. Message: Request to backend service failed. Response from web service: {\"message\":\"Email address list is too large. Only a maximum of 1 is allowed\",\"code\":\"bad.request\",\"status\":400,\"contextId\":\"5edb4432-6769-4a54-bd24-560f72cb1fd7\",\"details\":[],\"errors\":[]} [80e5ff6f-99be-48f3-abb5-261793c6ae9e]"
#ArchitectureandDesign
#Integrations
#Outbound
------------------------------
Deyvid Cortes
Global Networks Solutions S.A.
------------------------------