Skip to content
Developers

List templates and check the account

Two read-only endpoints help you build against the iChatUp API without guessing. GET /api/v1/templates lists every approved template with its language, kind, body text, blanks, header type and button labels. GET /api/v1/account tells you which business the key belongs to and whether its official WhatsApp connection is live, with the number’s quality rating and daily limit tier.

Dikemas kini 22 November 2026 · oleh Rahil · Markdown

Sepintas lalu

TemplatesGET /api/v1/templates
AccountGET /api/v1/account
Returns templatesApproved ones only, sorted by name
NeedsAn API key

Listing templates

curl https://ichatup.com/api/v1/templates \
  -H "Authorization: Bearer YOUR_API_KEY"
{
  "templates": [
    {
      "name": "order_confirmed",
      "language": "en",
      "category": "utility",
      "body": "Hi {{1}}, we have received order {{2}}.",
      "variables": ["1", "2"],
      "header": null,
      "buttons": []
    }
  ]
}

What the fields mean

  • category is utility for updates, marketing for promotions and authentication for codes. Marketing ones need the Marketer plan to send through the API.
  • variables are the blanks in order; send one value for each.
  • header is image, video, document or text when the template has one; media headers need media_url.
  • buttons lists the button labels as the customer sees them.

Templates are created and submitted to Meta in the dashboard under Broadcasts, Templates, not through the API.

Checking the account

GET /api/v1/account returns business, connected, number, quality and daily_limit_tier. Call it from a health check: if connected turns false, sends will answer 409 until the owner reconnects WhatsApp. A response example is on authentication.

Soalan lazim

Why is my new template missing from the list?

Only approved templates are listed. A template waiting for Meta’s review, or rejected, does not appear.

Can the API create a template?

No. Write and submit templates in the dashboard; the API sends the approved ones.

Cuba pada nombor anda sendiri

Dua minit untuk sambung, 7 hari percuma, tanpa kad. Pekerja AI anda menjawab, membuat tempahan dan membuat susulan di nombor WhatsApp yang sudah digunakan pelanggan anda.