Saltar al contenido
Guías
Referencia de API
establenotification:read

Listar versiones de plantilla de notificación

GET/v1/notifications/templates/{templateKey}/versions

Autorización

bearerAuth
AutorizaciónBearer <token>

Token de acceso OAuth 2.0 emitido por Ecomiq Auth.

Ubicación: header

Parámetros de ruta

templateKey*string

Parámetros de consulta

channel?string

Valor en

  • "email"
  • "sms"
  • "push"
  • "whatsApp"
  • "inApp"
  • "webhook"
locale?string

Cuerpo de la respuesta

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/v1/notifications/templates/string/versions"
{  "data": [    {      "id": "string",      "tenantId": "string",      "storeId": null,      "key": "string",      "group": "string",      "name": "string",      "notification": "email",      "locale": null,      "version": 0,      "subjectTpl": null,      "exampleData": null,      "bodyTpl": "string",      "textTpl": null,      "status": "draft"    }  ],  "hasNextPage": true,  "nextCursor": null,  "totalCount": null}