For the complete documentation index, see llms.txt. This page is also available as Markdown.

Send Media

To Send Media Message

if you need to Send Media using Cartat WhatsApp API You can use this endpoint.

To Send Media Message

POST https://api.cartat.net/message/media

Headers

Name
Type
Description

Accept*

application/json

Content-Type*

application/json

Authorization*

Bearer {{token}}

you can find your access token here

Request Body

Name
Type
Description

number*

9665000000

Receiver number starting with country code

media_url*

https://file-example.s3-accelerate.amazonaws.com/video/test.mp4

the media URL

Accept: MP4, MP3, PDF, PNG,GIF, JPEG, Excel

caption

any caption

any caption text

{
    "status": "success",
    "id": "3EB0E34A1DEBD96181ED41",
    "from": "9665000000",
    "to": "9665000000",
    "type": "video",
    "body": "https://file-example.s3-accelerate.amazonaws.com/video/test.mp4"
}

Last updated