Cartat WhatsApp API
  • 🚛Get Started
  • 💼Use case
  • 📲WhatsApp API
    • 📶instance
      • ⚙️Settings
        • Get Settings
        • Set Settings
      • Get Instance Info
      • Initialize Instance
      • Link WhatsApp using QR
      • Get QR string
      • Get Instance Status
      • Restart Instance
      • Logout
      • Destroy
    • 📤Messages
      • Send Text
      • Send Media
    • 📬Chats
      • Chats
      • Chats/{chat_id}
      • Chats By Lable ID
    • 🏷️Labels
      • Labels
    • 🔢Contacts
      • Contacts
Powered by GitBook
On this page
  1. WhatsApp API
  2. Messages

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}}

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"
}
PreviousSend TextNextChats

Last updated 1 year ago

you can find your access token

📲
📤
here