WhatsApp

List WhatsApp templates

List WhatsApp message templates (all statuses) for a connection, read through a Redis cache.

get/orgs/connections/{connection_id}/whatsapp/templates

Request

  • Base URL: https://api.useinvent.com
  • URL: https://api.useinvent.com/orgs/connections/{connection_id}/whatsapp/templates
  • Auth: HTTP bearer

Path parameters

connection_idstring required

The ID of the connection

Query parameters

waba_idstring
phone_number_idstring
status'APPROVED' | 'IN_APPEAL' | 'PENDING' | 'REJECTED' | 'PENDING_DELETION' | 'DELETED' | 'DISABLED' | 'PAUSED' | 'LIMIT_EXCEEDED'
source'USER' | 'AUTO_GENERATED'
searchstring

Search query

pagenumber

Page number

takenumber

Number of items to take

nextstring

Next page token (Only used on special endpoints)

progressiveboolean

Skip the total count: pagination-count is exact on the last page, and one more than the items so far while more pages exist (Only used on special endpoints)

Response

idstring required
waba_idstring required
namestring required
languagestring required
status'APPROVED' | 'IN_APPEAL' | 'PENDING' | 'REJECTED' | 'PENDING_DELETION' | 'DELETED' | 'DISABLED' | 'PAUSED' | 'LIMIT_EXCEEDED' required
category'AUTHENTICATION' | 'MARKETING' | 'UTILITY' required
rejected_reasonstring
correct_category'AUTHENTICATION' | 'MARKETING' | 'UTILITY' nullable
sourcestring

AUTO_GENERATED when Meta created the template for a Direct Send update; absent on templates the business authored

Changes

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