post https://api.amio.io/v1/messages/
Response
xxxxxxxxxx
curl --request POST \
--url https://api.amio.io/v1/messages/ \
--header 'Authorization: Bearer <SECRET_TOKEN>' \
--header 'accept: application/json' \
--header 'content-type: application/json'
xxxxxxxxxx
16{
"id": "6456078996108099701",
"channel": {
"id": "6456078759331248741",
"type": "amio_chat"
},
"contact": {
"id": "6456078781510715474"
},
"content": {
"type": "image",
"payload": {
"url": "https://upload.wikimedia.org/wikipedia/commons/1/11/V%C3%A1clav_Havel_cut_out.jpg"
}
}
}