Nabd Messaging
  1. Send with Media
Nabd Messaging
  • Getting Started
  • Send Message (WhatsApp)
    • Send plain text (WhatsApp)
      POST
  • Send Message (Telegram)
    • Send plain text (Telegram, by username)
      POST
    • Send plain text (Telegram, by user ID)
      POST
  • Send with Template
    • Send with template (WhatsApp)
      POST
    • Send with template (Telegram)
      POST
  • Send with Media
    • Send image or document (WhatsApp)
      POST
    • Send image or document (Telegram)
      POST
  • Managing Apps
  1. Send with Media

Send image or document (Telegram)

POST
/api/create-message

Send a file with caption via Telegram#

Same as the WhatsApp media request, but with channel: "telegram" and to set to a Telegram username or user ID. Use an app linked to a Telegram account.

Request

Header Params

Body Params application/json

Examples

Responses

🟢200
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/create-message' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data-raw '{
  "authkey": "{{authkey}}",
  "appkey": "{{appkey}}",
  "channel": "telegram",
  "to": "@username",
  "message": "Caption text",
  "file": "https://example.com/document.pdf"
}'
Response Response Example
{}
Modified at 2026-03-03 23:38:15
Previous
Send image or document (WhatsApp)
Next
Managing Apps
Built with