1. Schemas
Peach
  • template-messages
    • Send a pre-approved template message
      POST
    • Poll template message status
      GET
    • Poll template messages status
      GET
    • Connect to AI Agent
      POST
    • Send an App message
      POST
  • broadcasts
    • List broadcasts
      GET
    • Launch a broadcast
      POST
    • Poll broadcast status
      GET
    • Get broadcast details
      GET
    • Archive broadcast
      PATCH
    • Cancel broadcast
      PATCH
  • whatsapp_templates
    • List all templates
      GET
    • Create a template
      POST
    • Update template
      PATCH
    • Archive template
      PATCH
    • Pause template
      PATCH
    • Submit template
      PATCH
    • Fetch template details
      GET
  • conversations
    • List messages
    • List conversations
    • Update conversation status
    • Agent Assignment
    • Close Conversation
  • contacts
    • Create multiple contacts
    • Update a contact
    • Create a contact
    • Bulk update communication preferences
  • orders
    • Create an order
    • Find order by ID
    • Create a refund for an order
  • medias
    • About uploaded media
    • List available medias
    • Add a media (Deprecated)
    • Remove a media
    • Create a direct upload for media
    • Finalize a direct uploaded media
  • webhooks
    • Order status webhooks
    • Flow execution status webhooks
    • Message delivery status webhooks
    • AI Agent Execution Webhooks
  • Schemas
    • Schemas
      • WhatsApp Template
      • WhatsApp Template Parameters
      • Order
      • RefundRequest
      • Contact
      • LineItem
      • OrderExpiry
      • TemplateMessage
      • AnyValue
      • Argument
      • Message
      • MessageResponse
  1. Schemas

WhatsApp Template

{
    "id": "string",
    "template_name": "string",
    "name": "string",
    "system_name": "string",
    "language": "string",
    "category": "string",
    "folder": "string",
    "status": "string",
    "reason": null,
    "purpose": "string",
    "whats_app_business_account_id": 0,
    "user": {
        "id": 0,
        "name": "string",
        "email": "string",
        "phone_number": "string",
        "time_zone": "string"
    },
    "components": [
        {
            "type": "string",
            "text": "string",
            "example": {
                "body_text": [
                    [
                        "string"
                    ]
                ],
                "header_handle": [
                    "string"
                ]
            },
            "buttons": [
                {
                    "text": "string",
                    "type": "string",
                    "url": "string",
                    "example": [
                        "string"
                    ]
                }
            ],
            "format": "string"
        }
    ],
    "placeholders": [
        "string"
    ],
    "liquid_values": [
        "string"
    ],
    "created_at": "string",
    "updated_at": "string"
}
Built with