Skip to content

List templates

POST /api/templates/list

Lists the channel’s templates with their status, category and, if Meta reports them, the rejection reason (rejected_reason), the quality (quality_score) and the recategorization (previous_category, correct_category). Requires the templates:manage scope.

FieldTypeDescription
channel_idstringrequiredchannel_id of the channel (nk_ prefix). Example: "nk_dvzobn7m4h4y".
StatusDescriptionSchema
200—ListTemplatesResponseDto
Terminal window
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"
}'
FieldTypeDescription
externalCodenumberrequiredExample: 200.
templatesTemplateListItemDto[]optional—
messagestringoptionalError message, if externalCode != 200.