v1

latestOpenAPI 3.1.02026-07-22750642.5 KB
WhatsApp templates

Get template

Get one WhatsApp template by id, including its approval status and any rejection reason.

get/api/v1/templates/{id}

Path parameters

idstring required

Template id.

Response

Success

idstring required

Template id.

namestring required

Template name (unique per WhatsApp number).

languagestring required

WhatsApp language code the template was created for, e.g. es_MX.

category'UTILITY' | 'MARKETING' | 'AUTHENTICATION' required
contentType'TEXT' | 'MEDIA' | 'QUICK_REPLY' | 'CALL_TO_ACTION' | 'CARD' required
{"stackTrail":"paths:/api/v1/templates/{id}:get:responses:200:content:application/json:schema:properties:content","oasType":"schema","type":"unknown","description":"The message content (shape per `contentType`)."}
variablesobject nullable required

Example values for {{1}}-style placeholders.

phoneNumbersstring[] required

WhatsApp numbers this template can be sent from.

status'DRAFT' | 'PENDING' | 'APPROVED' | 'REJECTED' required

DRAFT (not yet submitted), PENDING (in WhatsApp review, typically 24-48h), APPROVED, or REJECTED (see rejectionReason).

rejectionReasonstring nullable required
createdAtstring required

ISO 8601 timestamp.

updatedAtstring required

ISO 8601 timestamp.