Delete Template

Delete a Whatsapp Template.

Request

DELETE https://wa.antgst.com/v1/whatsapp/templates

Header Parameters

Authorization

Bearer token for API authentication. This should be a valid access token obtained through the appropriate OAuth flow or system user token.

Path Params

Field

Type

Required(*)

Description

wabaId

String

true

Whatsapp Business Account ID.

templateName

String

true

Template Name.

Request Example:

curl --location --request DELETE 'https://wa.antgst.com/v1/whatsapp/templates/{wabaId}/{templateName}' \
--header 'Authorization: Bearer ...' 

Response Example:

{
    "officialTemplateId": "String",
    "wabaId": "String",
    "name": "String"
}

Response parameter description:

Field

Description

officialTemplateId

Official template ID assigned by WhatsApp. This ID is used to identify the template in WhatsApp's system.

wabaId

Whatsapp Business Account ID.

name

The name of a WhatsApp template.

whatsappError

Whatsapp returns error messages when deleting template.

Last updated