Skip to main content
POST
/
api
/
v1
/
whatsapp
/
templates
/
{uuid}
/
sync
Refresh a single template's status from Meta
curl --request POST \
  --url https://{subdomain}.mihu.ai/api/v1/whatsapp/templates/{uuid}/sync \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "message": "Template synced",
  "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}"

Path Parameters

uuid
string<uuid>
required

Response

Refreshed template resource.

success
boolean
Example:

true

message
string
Example:

"Template synced"

data
object

WhatsApp message template stored locally and synced with Meta. Status reflects Meta's approval state.