WhatsApp templates

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

get/api/v1/templates/{id}

Request

  • Base URL
    https://www.useboom.ai
  • Auth
    HTTP bearer

Path parameters

idstring required

Template id.

Response

Success

idstring required

Template id.

namestring required

Template name (unique per WhatsApp account, i.e. across all its numbers).

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
contentunknown required
variablesobject nullable required

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

phoneNumbersstring[] required

WhatsApp numbers this template can be sent from: every number on the WhatsApp account it was created on.

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.

Changes

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status