---
title: "Get content templates list"
description: "Receive content templates belonging to the company"
openapi: "/openapi/omni-api.yaml GET /wa_templates"
---

> **For AI agents:** the complete documentation index is at [llms.txt](/llms.txt). Append `.md` to any page URL for its markdown version.

`GET https://web.otpcod.ru/api/v1/wa_templates`

Receive content templates belonging to the company

## Authentication

- `BasicAuth` — http basic AND `X-Api-Key` — apiKey in header: `X-Api-Key`

## Query parameters

- `status` (string) — status of WhatsApp templates to get
- `limit` (integer) — sql returning rows limit
- `offset` (integer) — sql returning rows offset

## Response 200

OK
  - response (object)
    - `data` (array)
      - `items` (object)
        - `category` (string)
        - `content` (string)
        - `created_at` (string)
        - `description` (string)
        - `id` (integer)
        - `language` (string)
        - `language_name_en` (string)
        - `last_synced_at` (string)
        - `rejection_reason` (string)
        - `sender_display_name` (string)
        - `sender_id` (string)
        - `status` (string, one of: DRAFT, SUBMITTED, APPROVED, REJECTED, DELETED)
        - `status_updated_at` (string)
        - `template_name` (string)
        - `updated_at` (string)
    - `error` (boolean)
    - `size` (integer)

## Response 400

Bad Request
  - response (object)
    - `data` (object)
      - `message` (string)
      - `requestId` (string)
    - `error` (boolean)

## Response 401

Unauthorized
  - response (object)
    - `data` (object)
      - `message` (string)
      - `requestId` (string)
    - `error` (boolean)

## Response 404

Not Found
  - response (object)
    - `data` (object)
      - `message` (string)
      - `requestId` (string)
    - `error` (boolean)

## Response 500

Internal Server Error
  - response (object)
    - `data` (object)
      - `message` (string)
      - `requestId` (string)
    - `error` (boolean)


---

📦 **OpenAPI specs:** Every OpenAPI specification referenced by this documentation is available as a single download — https://iba-platform.jamdesk.app/api-specs.zip
