V1 - Send Message
Send and receive messages, to single contacts per request, on channels connected to CosmoBots
Endpoint
POST https://api.cosmobots.io/messages/v1/sendAuthentication
Sending Message
Contact Object
ObjectSession Object
Desk Object
ObjectMessage Array [Object]
Array [Object]Message > Data (If Type is Text)
Message > Data (If Type is Buttons)
Message > Data (If Type is Cards)
Message > Data (If Type is Media)
Response Sync
Response Async
Examples Of Request
Sending Text Destination: Contact
Destination: ContactSending Text With Buttons Destination: Contact
Destination: ContactSending Media Destination: Contact
Destination: ContactReceiving Message
Last updated