curl --request POST \
--url https://api.buildwithchirp.com/v1/whatsapp/groups/{groupId}/messages \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"type": "text",
"text": {
"body": "Hello group!"
},
"image": {
"id": "<string>",
"caption": "<string>"
},
"video": {
"id": "<string>",
"caption": "<string>"
},
"audio": {
"id": "<string>"
},
"document": {
"id": "<string>",
"filename": "<string>",
"caption": "<string>"
}
}
'