Pingtochat Docs

Pingtochat Docs

Did You Know?

You can create any type of product documentation with Docy

leafleafleafDocy banner shape 01Docy banner shape 02Man illustrationFlower illustration

Template status check

Estimated reading: 1 minute 89 views

Overview

The Template Status Check API allows users to retrieve the approval status of a specific WhatsApp Business API message template. This API is useful for monitoring template approvals and ensuring that a template is available for use in messaging.

API End point

http://{{your_domain}}/api/v1.0/{{phone_number_id}}/{{key}}/{{template_id}}/template_status

Replace the placeholders with:

  • {phone_number_id} → Your WhatsApp Business Account phone number ID.
  • {key} → Your authentication key (API key or access token).
  • {template_id} → The unique ID of the template whose status is being checked.

Example Response

Success Response (Template Found)

{
    "success": true,
    "id": "353335",
    "name": "edit_al",
    "category": "marketing",
    "status": "APPROVED"
}

Explanation of Fields

success

  • Type: boolean
  • Value: true or false
  • Description: Indicates whether the API request was successful.

id

  • Type: string
  • Example: "353335"
  • Description: A unique identifier assigned to the template.

name

  • Type: string
  • Example: "edit_al"
  • Description: The name of the WhatsApp template.

category

  • Type: string
  • Example: "marketing"
  • Description: Specifies the category of the template (e.g., "marketing", "utility", "authentication").

status

  • Type: string
  • Values: "APPROVED", "PENDING", "REJECTED"
  • Description: The current approval status of the template.

Leave a Comment

Share this Doc

Template status check

Or copy link

CONTENTS