> ## Documentation Index
> Fetch the complete documentation index at: https://botsify.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Get WhatsApp Templates — GET /api/v1/media-block/fetch

> Retrieve all WhatsApp message templates saved in your Botsify account, including approval status and body content, for use in broadcast campaigns.

Use this endpoint to fetch all WhatsApp message templates currently stored in your Botsify account. Templates are the pre-approved message structures you use when sending broadcasts or initiating conversations with users on WhatsApp. Retrieving the template list is a useful first step before scheduling a broadcast, as you will need each template's name or identifier to reference it in a send request. You authenticate using a Bearer token.

## Request

This endpoint accepts no request parameters. All available templates associated with your authenticated account are returned in a single response.

## Example Request

```bash theme={null}
curl --request GET \
  --url https://app.botsify.com/api/v1/media-block/fetch \
  --header 'Authorization: Bearer YOUR_ACCESS_TOKEN'
```

## Response

A successful request returns a JSON array of template objects. Each object includes the template name, type, language, approval status, and the body content of the template. Only templates that have been saved in Botsify are returned; Meta approval status is reflected in each record.

```json theme={null}
{
  "templates": [
    {
      "id": "tpl_001",
      "name": "welcome_message",
      "type": "text",
      "language": "en_US",
      "status": "approved",
      "body": "Hello {{1}}, welcome to our service!"
    },
    {
      "id": "tpl_002",
      "name": "order_confirmation",
      "type": "text",
      "language": "en_US",
      "status": "approved",
      "body": "Your order {{1}} has been confirmed."
    }
  ]
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.