curl --request POST \
--url https://api.zixflow.com/api/v1/campaign/rcs/message/document \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"to": "<string>",
"botId": "<string>",
"fileUrl": "<string>",
"suggestions": [
{
"type": "<string>",
"text": "<string>",
"postback": "<string>",
"url": "<string>",
"phoneNumber": "<string>",
"label": "<string>",
"latitude": 123,
"longitude": 123,
"title": "<string>",
"description": "<string>",
"startTime": "<string>",
"endTime": "<string>"
}
],
"source": "<string>",
"linkWithRecord": true,
"reportURL": "<string>",
"submissionStatus": true
}
'