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. Quick Start

Send WhatsApp template message

PreviousAuthenticationNextSend WhatsApp session message

Last updated 7 months ago

What are WhatsApp template messages?

Ensure that your templates meet Facebook's .

Template messages are useful when you try to send the same type of message to a number of customers (notifications, remninders, etc.). You can also send them first to the customers even if you have never messaged the customer. And they don’t have the 24-hr reply window constraint as regular session messages do.

Below is an example to send a template message to a given WhatsApp number. Note the template has to be created and approved in your WhatsApp Manager, which is part of the before sending. You can also contact us if you need help to create one.

curl 
--request POST \
     --url https://api.connectly.ai/v1/businesses/<business_id>/send/whatsapp_templated_messages \
     --header 'Accept: application/json' \
     --header 'Content-Type: application/json' \
     --header 'X-API-Key: <YOUR_KEY_HERE>' \
     --data '
{
     "parameters": [
          {
               "name": "body_1",
               "value": "value1"
          },
          {
               "name": "body_2",
               "value": "value2"
          }
     ],
     "number": "<WA_Number>",
     "templateName": "<Template_name>",
     "language": "en_US"
}'

For more information and detailed instructions, see Send template message

πŸš€
Message Template Guidelines
Facebook Business Manager
Message API