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
  • 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 on Peach
      POST
  • orders
    • Create an order
      POST
    • Find order by ID
      GET
    • Create a refund for an order
      POST
  • medias
    • 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 flow execution status webhooks
  1. whatsapp_templates

Pause template

PATCH
/api/v1/whats_app_templates/{id}/pause

Request

Authorization
Add parameter in header
Authorization
Example:
Authorization: ********************
Path Params
id
string 
required
Template ID
Example:
template_prefix_id_1

Request 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 PATCH '/api/v1/whats_app_templates/template_prefix_id_1/pause' \
--header 'Authorization;'

Responses

🟢200Success
application/json
Body
id
string 
required
template_name
string 
required
language
string 
required
category
string 
required
status
string 
required
whats_app_business_account_id
integer 
required
components
array [object {5}] 
required
id
string 
optional
component_type
string 
optional
data_type
string 
optional
value
string 
optional
index
integer 
optional
Example
{
  "id": "template_prefix_id_1",
  "template_name": "Template to Pause",
  "language": "en",
  "category": "MARKETING",
  "status": "paused",
  "whats_app_business_account_id": 123,
  "components": [
    {
      "id": "component_id_1",
      "component_type": "body",
      "data_type": "text",
      "value": "This is a paused template body.",
      "index": 0
    }
  ]
}
Modified at 2025-06-10 07:11:18
Previous
Archive template
Next
Submit template
Built with