Rcs Outbound Messages
Send RCS Outbound Messages
Submits one or more RCS Outbound Messages for sending. Up to 100 messages can be submitted per request.
AuthorizationBasic <token>
Basic Authorization header using the BASIC scheme. Use a pair companySid:token to access the API.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Submit one or more RCS messages in a single request (up to Telgorithm.Phone.Api.Contracts.Rcs.CreateRcsOutboundMessagesRequest.MaxMessages).
Response Body
curl -X POST "https://example.com/v1/Rcs/OutboundMessages" \ -H "Content-Type: application/json" \ -d '{ "messages": [ { "agentId": "TestAgent", "to": "+19876543210", "content": { "type": "Text", "text": "Hello from RCS!" } } ] }'{ "messages": [ { "sid": "string" } ]}{ "errors": { "Name": [ "The Name field is required." ] }, "type": "https://tools.ietf.org/html/rfc7231#section-6.5.1", "title": "One or more validation errors occurred.", "status": 400, "detail": "Some detailed message", "traceId": "|4ef17786-b103-420e-89c0-cc425ac14809.edfcbee9_"}{ "type": "https://tools.ietf.org/html/rfc7231#section-6.5.1", "title": "Error title", "detail": "Error detailed message", "traceId": "|4ef17786-b103-420e-89c0-cc425ac14809.edfcbee9_"}