POST /whatsappCampaigns/template

Create a WhatsApp template

Servers

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Request body fields

Name Type Required Description
source String No

source of the template

Valid values:

  • "Conversations"
  • "Automation"
category String Yes

Category of the template

Valid values:

  • "UTILITY"
  • "MARKETING"
headerText String No

Text content of the header in the template. Maximum allowed characters are 45 Use this field to add text content in template header and if mediaUrl is empty

name String Yes

Name of the template

bodyText String Yes

Body of the template. Maximum allowed characters are 1024

language String Yes

Language of the template. For Example : en for English

mediaUrl String No

Absolute url of the media file (no local file) for the header. Use this field in you want to add media in Template header and headerText is empty Allowed extensions for media files are: #### jpeg | png | mp4 | pdf

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.