whatsAppCampaigns

Create a WhatsApp template

<Note>You can use this API for WhatsApp only if you have setup your WhatsApp account on Brevo platform. To setup your WhatsApp account, follow the steps in the guide below. Activating WhatsApp in your account</Note>

post/whatsappCampaigns/template

Request

  • Base URL: https://api.brevo.com/v3
  • URL: https://api.brevo.com/v3/whatsappCampaigns/template
  • Auth: API key in header api-key

Request body

bodyTextstring required

Body of the template. Maximum allowed characters are 1024

category'MARKETING' | 'UTILITY' required

Category of the template

headerTextstring

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

languagestring required

Language of the template. For Example : en for English

mediaUrlstring

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

namestring required

Name of the template

source'Automation' | 'Conversations'

source of the template

Response

successfully created

idinteger required

ID of the object created

Changes

No recorded changes to this operation across all 1 revision of this API.