Skip to content
CatalogNotifications

List template groups

Returns template groups with their template count, filterable by scope and channel.

Query Parameters

scope?string

store for your store's own templates, system for the default ones.

Value in

  • "system"
  • "store"
channel?string

Notification channel, such as email or whatsApp.

Value in

  • "email"
  • "sms"
  • "push"
  • "whatsApp"
  • "inApp"
  • "webhook"

Header Parameters

x-Store-Id?string

Store the request acts on. Not needed when the token is bound to a store.

Authorization*string

OAuth 2.0 bearer token.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://api.ecomiq.pe/api/v1/notifications/templates/groups" \  -H "x-Store-Id: <store-id>" \  -H "Authorization: Bearer <token>"
[  {    "name": "Clientes frecuentes",    "count": 24,    "notification": "email"  }]