I'm working on a project where I need to use the send message api of ccai https://externals.ujet.co/apidocs/apps/publication.html#jump-Chats-Sendamessageinachat
I'm getting invalid message format error. I followed the same body format that is given in the api documentation
{
"from_user_id": 2,
"message": {
"message": {
"type": "text",
"content": {
"text": "hai welcome"
}
}
}
}
Can someone help me find out what is wrong in this.