Listar plantillas
POST /api/templates/listLista las plantillas del canal y su estado. Requiere scope templates:manage.
Request body
Section titled “Request body”| Field | Type | Description | |
|---|---|---|---|
channel_id | string | required | channel_id del canal (prefijo nk_). Example: "nk_dvzobn7m4h4y". |
Responses
Section titled “Responses”| Status | Description | Schema |
|---|---|---|
200 | — | — |
Example
Section titled “Example”curl -X POST https://api.neike.dev/api/templates/list \ -H "x-neike-api-key: whk_live_…" \ -H "Content-Type: application/json" \ -d '{ "channel_id": "nk_dvzobn7m4h4y" }'