Connectly Documentation
  • 👋Welcome to Connectly.ai
  • 🚀Quick Start
    • Prerequisites
    • Authentication
    • Send WhatsApp template message
    • Send WhatsApp session message
  • 📣Campaigns
    • Campaign Sendout
      • Send Campaigns
  • 🤖Sofia AI
    • How to use Sofia AI?
    • Sofia AI API
      • Reference
        • Core Concepts
        • sales_assistant_v2/invoke/v1
  • 📱Message API
    • Message Service API
      • MessageService
        • Send template message
        • Send session message
      • Error codes
    • Webhook API
      • WebhookService
        • Create a webhook registration by event topic
        • Update an existing webhook registration by event topic
        • Get webhook registrations for business
        • Delete a webhook registration for business
      • Webhook Payload
        • Delivery Status Error Codes
        • Payload Media Types
  • 🤖Business Management
    • Business Management API
      • Template Management
        • Create a template
        • Get templates
      • Quality Signals
  • 📱Integrations
    • Integrations
      • WebEngage Integration
      • Message your customers on Zendesk through Connectly
      • Message your customer on Intercom through Connectly
    • [Alpha] Moengage
      • MessageService
        • Send Campaign via API
  • 📊Analytics
    • Analytics
      • [Alpha] Campaign report
      • Reports API
        • Webhooks configuration
  • 👀FAQ
  • Migrating WhatsApp Accounts
  • How to use time delay?
Powered by GitBook
On this page
  1. Integrations
  2. [Alpha] Moengage
  3. MessageService

Send Campaign via API

PreviousMessageServiceNextAnalytics

Last updated 8 months ago

Important: C

📱
post

API to query development profile

Authorizations
Path parameters
businessIdstringRequired

Moengage client BID.

Body
msgIdstringOptional

Unique identifier, to be returned in callback.

Example: 847567484949393
fromstringOptional

WhatsApp Business Account (WABA) number.

Example: +123456789
tostringOptional

WhatsApp number of the user to whom the message is being sent.

Example: +1234567890
Responses
200
Success:
application/json
400
Error: Request was malformed.
application/json
500
Error: There was an internal server error.
application/json
default
An unexpected error response.
application/json
post
POST /v1/businesses/{businessId}/moengage/send_message_template HTTP/1.1
Host: 
X-API-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 153

{
  "msgId": "847567484949393",
  "from": "+123456789",
  "to": "+1234567890",
  "template": {
    "name": "campaign_simple_message",
    "language": {
      "code": "en"
    },
    "components": ""
  }
}
{
  "status": "success",
  "error": "See ErrorDetails",
  "message": "See ErrorDetails"
}