Rayzing AI Help Documentation
  • 🏠Introduction
  • πŸ“’Rayzing Resource Center
    • πŸƒβ€β™‚οΈHow Rayzing works?
      • πŸ“–Starting with Rayzing
      • πŸ“–Bot Management
        • πŸ“–Create new Bot
          • πŸ“–Website, Live chat or Landing Page Bots
          • πŸ“–WhatsApp Bot Creation with Manual Onboarding
            • βœ…Prerequisites for WhatsApp Bots
            • πŸ”€Create a Meta App
            • βœ”οΈRegister & Verify your WhatsApp Number
            • πŸ”—Subscribe WA webhook with Rayzing
            • πŸ’³Update WA account Payment Method
            • πŸ¦Έβ€β™€οΈAssign System User to WhatsApp Account
            • πŸ“ƒGetting all the necessary details from Meta Developer Dashboard
          • πŸ“–Make Your Telegram Chatbot
        • πŸ“–Edit Your Chat Flow
        • πŸ“–Train Your AI Chatbot
          • πŸ“–Train your AI chatbot using websites
          • πŸ“–Train your AI chatbot by uploading files.
          • πŸ“–Train your AI chatbot using frequently asked questions (FAQs).
          • πŸ“–Train your bot using the conversation history.
          • πŸ“–Train your AI chatbot using other sources.
        • πŸ“–Bot Settings
          • πŸ“–Website Bot settings
            • πŸ“–Design
            • πŸ“–General
            • πŸ“–Alerts
            • πŸ“–Triggers
            • πŸ“–User Access
            • πŸ“–Chat Window
            • πŸ“–AI Settings
          • πŸ“–WhatsApp chatbot Settings
            • πŸ“–General
            • πŸ“–Alerts
            • πŸ“–AI Settings
          • πŸ“–Telegram Bot Settings
            • πŸ“–General
            • πŸ“–AI Settings
          • πŸ“–Facebook Bot Settings
            • πŸ“–General
            • πŸ“–AI Settings
        • πŸ“–Marketing Automation
          • πŸ“–Broadcasts on WhatsApp, Telegram & Facebook
          • πŸ“–Drip Campaigns on WhatsApp, Telegram & Facebook
          • πŸ“–Facebook Auto-Reply
        • πŸ“–Install your Website Chatbot
        • πŸ“–3rd Party Apps Integrations
          • Agile CRM integration with Rayzing
          • Apptivo CRM integration with Rayzing
          • Autopilot CRM integration with Rayzing
          • Bitrix24 CRM Integration with Rayzing
          • CalendarHero integration with Rayzing
          • Capsule CRM integration with Rayzing
          • Chakra CRM integration with Rayzing
          • Close CRM integration with Rayzing
          • Copper CRM integration with Rayzing
          • Drip CRM integration with Rayzing
          • EngageBay CRM integration with Rayzing
          • Drip CRM integration with Rayzing
          • ExtraaEdge integration with Rayzing
          • FirstPromoter integration with Rayzing
          • Flowlu integration with Rayzing
          • Freshworks CRM integration with Rayzing
          • Freshdesk CRM integration with Rayzing
          • Frontapp integration with Rayzing
          • GetResponse integration with Rayzing
          • Go High Level Integration with Rayzing
          • Google Analytics integration with Rayzing
          • Google Calendar Integration with Rayzing
          • Google Contacts Integration with Rayzing
          • Google Tasks integration with Rayzing
          • Groove CRM integration with Rayzing
          • Google Sheets integration with Rayzing
          • Helpcrunch CRM integration with Rayzing
          • HelpShift integration with Rayzing
          • Hubspot CRM integration with Rayzing
          • Infobip CRM integration with Rayzing
          • Jira CRM integration with Rayzing
          • Insightly CRM integration with Rayzing
          • MoEngage CRM integration with Rayzing
          • NetHunt integration with Rayzing
          • Nimble CRM integration with Rayzing
          • Nutshell CRM integration with Rayzing
          • Onpipeline integration with Rayzing
          • Nocrm integration with Rayzing
          • Pipedrive CRM integration with Rayzing
          • Salesflare CRM integration with Rayzing
          • SendInBlue integration with Rayzing
          • Shipway Integration with Rayzing
          • Wealthbox CRM integration with Rayzing
          • SupportBee CRM integration with Rayzing
          • Zendesk CRM integration with Rayzing
          • Zoho CRM integration with Rayzing
          • Zoho Desk integration with Rayzing
          • Zoho Projects integration with Rayzing
      • πŸ“–Inbox
        • πŸ“–Managing Contacts, Chats & Conversation
        • πŸ“–Creating Groups
      • πŸ“–Teams
      • πŸ“–Subscriptions
      • πŸ“–My Account
        • πŸ“–Configure Custom Attribute
        • πŸ“–Configure Tags
        • πŸ“–Configure Chat Status
      • πŸ“–Notifications
    • ❓Frequently asked questions (FAQs)
      • Onboarding FAQs
      • Bot Installation FAQs
      • Inbox FAQs
      • Profile, Team & Notifications FAQs
      • Analytics FAQs
      • Chat Flow FAQs
      • Bot Settings FAQs
      • WhatsApp FAQs
      • Subscription FAQs
      • ChatGPT FAQs
    • πŸ› οΈCommon Errors & Troubleshooting
  • πŸ“–Product Guides & Training
    • πŸ‘©β€πŸ’»WhatsApp Cloud API by Meta
      • βš™οΈSetting Up Your Facebook Business Manager
      • πŸ’°Meta Conversation Pricing for WhatsApp Cloud API
      • πŸ‘§Update WhatsApp Bot Profile
      • βœ…Getting a green tick on WhatsApp
    • βš™οΈWhatsApp Bot Creation with Automated onboarding
    • πŸ’‘Must know-how of Rayzing
      • πŸ”€Manage & Use Custom Attributes
      • πŸ–₯️Call external APIs in your chat flows
      • πŸ‘¨β€πŸ’ΌManging team roles & Users
      • πŸͺ„Unlock Rayzing AI
      • πŸ“¨Send WhatsApp notifications using the Rayzing APIs
  • πŸ› οΈAPI References
    • πŸ“„Contacts & Chats APIs
      • Get All Contacts
      • Getting Groups/Segments
      • Add WhatsApp Contact
      • Delete WhatsApp Contact
      • Website Contacts & Meta Data
    • πŸ“„WhatsApp Cloud API
      • GET Templates List
      • POST WhatsApp Template Message
      • POST Send Message API
Powered by GitBook
On this page
  1. API References
  2. WhatsApp Cloud API

POST WhatsApp Template Message

API to send the WhatsApp template message

Parameter Description

  1. userName: refers to the name of the user we intend to send the message

  2. wa_id: refers to the WhatsApp number of the user we intend to send the message NOTE: The number must contain the country code without the plus sign

  3. templateId: refers to the ID of the template NOTE: Template must be approved before using this API

  4. params: is used for the variables used in the template, it is an empty array in the case of a plain text template with no variables. In case of variables in the template, please refer to the JSON below

API Endpoint

https://api.v7.express-chat.com/whatsapp-automation/wa/send-template?apiKey=*API KEY*

Request Headers

Header
Details

apiKey

API KEY

Query Params

Header
Details

apiKey

API KEY

Body

{
    "userName": "Divyansh Test",
    "wa_id": "9175080****",
    "templateId": "62b5c16bf*****cfa9a72335",
    "params": [
			{
				"type" : "header",
				 "parameters": [
                {
                            "type": "document",
                            "document": {
                            "link": "<https://www.africau.edu/images/default/sample.pdf>"
                            }
                }
            ]
			},
			{
                    "type": "body",
                    "parameters": [
                        {
                            "type": "text",
                            "text": "Abc"
                        },
                         {
                            "type": "text",
                            "text": "def"
                        },
                         {
                            "type": "text",
                            "text": "Monday"
                        }
                    ]
        }				
		 ]
}

Examples

Request

curl --location --request POST '<https://api.v7.express-chat.com/whatsapp-automation/wa/send-template?apiKey=> *Shared Separately*' \\
--header 'apiKey: *API KEY*' \\
--header 'Content-Type: application/json' \\
--data-raw '{
    "userName": "Test",
    "wa_id": "91885917****",
    "templateId": "63dba1617****52face07078",
    "params": [
        {
            "type": "header",
            "parameters": [
                {
                            "type": "document",
                            "document": {
                            "link": "<https://www.africau.edu/images/default/sample.pdf>"
                            }
                }
            ]
        },
        {
                    "type": "body",
                    "parameters": [
                        {
                            "type": "text",
                            "text": "Abc"
                        },
                         {
                            "type": "text",
                            "text": "def"
                        },
                         {
                            "type": "text",
                            "text": "Monday"
                        }
                    ]
        }

    ]
}'

Response

Headers

Header
Details

X-Powered-By

Express

Vary

Origin

Access-Control-Allow-Credentials

true

_user

61c1c2058e0****e9bb420f8

_bot

62e77a807f1****ecce980f0

whatsAppId

****bsIWcYgazd5ZDAK

Content-Type

application/json; charset=utf-8

Content-Length

507

ETag

W/"1fb-urlVjgGZAUBRNyxQDAOnZ3ONF1I"

Date

Wed, 03 Aug 2022 11:16:13 GMT

Connection

keep-alive

Keep-Alive

timeout=5

PreviousGET Templates ListNextPOST Send Message API

Last updated 1 year ago

πŸ› οΈ
πŸ“„