Peach
  1. whatsapp_templates
Peach
  • messaging
    • Send a pre-approved template message
      POST
    • Poll template message status
      GET
    • Launch a broadcast
      POST
    • Poll broadcast status
      GET
    • Poll template messages status
      GET
    • Connect to AI Agent
      POST
    • Send an App message
      POST
  • whatsapp_templates
    • List all templates
      GET
    • Create a template
      POST
    • Update template
      PATCH
    • Archive template
      PATCH
    • Pause template
      PATCH
    • Submit template
      PATCH
  • conversations
    • Agent Assignment
      POST
    • Close Conversation
      POST
  • contacts
    • Create a contact
      POST
    • Update a contact
      PATCH
    • Create multiple contacts
      POST
  • orders
    • Create an order
      POST
    • Find order by ID
      GET
    • Create a refund for an order
      POST
  • medias
    • About uploaded media
    • List available medias
      GET
    • Add a media
      POST
    • Remove a media
      DELETE
  • webhooks
    • Order status webhooks
    • Flow execution status webhooks
    • Message delivery status webhooks
    • AI Agent Execution Webhooks
  • Schemas
    • Schemas
      • Order
      • RefundRequest
      • Contact
      • LineItem
      • OrderExpiry
      • TemplateMessage
      • AnyValue
      • Argument
  1. whatsapp_templates

List all templates

GET
/api/v1/whats_app_templates/

Request

Authorization
Add parameter in header
Authorization
Example:
Authorization: ********************

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/api/v1/whats_app_templates/' \
--header 'Authorization: <api-key>'

Responses

🟢200Success
application/json
Body

Example
[
  {
    "id": "template_prefix_id_1",
    "template_name": "Welcome Message",
    "language": "en",
    "category": "MARKETING",
    "status": "approved",
    "whats_app_business_account_id": 123,
    "components": [
      {
        "id": "component_id_1",
        "component_type": "body",
        "data_type": "text",
        "value": "Hello {{subscriber.name | fallback: 'there' | example: 'John'}}, welcome to our service!",
        "index": 0
      }
    ]
  },
  {
    "id": "template_prefix_id_2",
    "template_name": "Order Confirmation",
    "language": "en",
    "category": "TRANSACTIONAL",
    "status": "approved",
    "whats_app_business_account_id": 123,
    "components": [
      {
        "id": "component_id_2",
        "component_type": "body",
        "data_type": "text",
        "value": "Your order #{{order.number | example: '12345'}} has been confirmed.",
        "index": 0
      }
    ]
  }
]
Modified at 2025-06-10 07:40:11
Previous
Send an App message
Next
Create a template
Built with