Skip to main content
GET
/
api
/
v1
/
whatsapp
/
templates
List WhatsApp message templates
curl --request GET \
  --url https://{subdomain}.mihu.ai/api/v1/whatsapp/templates \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "message": "Templates retrieved successfully",
  "data": {
    "current_page": 1,
    "last_page": 123,
    "per_page": 15,
    "total": 123,
    "data": [
      {
        "uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "name": "<string>",
        "language": "en_US",
        "category": "MARKETING",
        "status": "APPROVED",
        "content": "<string>",
        "components": [
          {}
        ],
        "template_id": "<string>",
        "waba_id": "<string>",
        "phone_number": "<string>",
        "type": "whatsapp",
        "created_at": "2023-11-07T05:31:56Z",
        "updated_at": "2023-11-07T05:31:56Z"
      }
    ]
  }
}

Documentation Index

Fetch the complete documentation index at: https://developers.mindhunters.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Use a Bearer token to access these API endpoints. Example: "Bearer {your-token}"

Query Parameters

waba_id
string

Filter by WhatsApp Business Account id (numeric string from Meta, e.g. 123456789012345).

status
enum<string>

Filter by approval status.

Available options:
APPROVED,
PENDING,
REJECTED,
PAUSED,
DISABLED
category
enum<string>

Filter by Meta category.

Available options:
MARKETING,
UTILITY,
AUTHENTICATION
language
string

Filter by language code (en_US, tr, etc.).

Partial match against template name or content.

active_only
boolean

If true, only returns APPROVED templates (those usable for sending).

page
integer
default:1
per_page
integer
default:15

Response

Paginated list of templates.

success
boolean
Example:

true

message
string
Example:

"Templates retrieved successfully"

data
object