---
title: "iChatUp API: List Templates and Check the Account"
url: https://ichatup.my/docs/templates-and-account
description: "GET /api/v1/templates returns every approved template with its blanks and buttons; GET /api/v1/account shows the WhatsApp connection and its health."
source: iChatUp
---

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.

## 要点一览

|  |  |
| --- | --- |
| Templates | GET /api/v1/templates |
| Account | GET /api/v1/account |
| Returns templates | Approved ones only, sorted by name |
| Needs | An 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](https://ichatup.my/docs/authentication).

## 常见问题

**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.

## 延伸阅读

- [Send a template message](https://ichatup.my/docs/messages)
- [Authentication](https://ichatup.my/docs/authentication)
- [WhatsApp template library](https://ichatup.my/templates)
- [Add or update a contact](https://ichatup.my/docs/contacts)
- [Send a Front Desk moment](https://ichatup.my/docs/front-desk-moments)

---
Source: https://ichatup.my/docs/templates-and-account
