API reference
Create template
POST
/v1/notifications/templatesAuthorization
bearerAuth AuthorizationBearer <token>
OAuth2 access token issued by Ecomiq Auth.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X POST "https://example.com/v1/notifications/templates" \ -H "Content-Type: application/json" \ -d '{ "group": "string", "key": "string", "name": "string", "notification": "email", "locale": "string", "subjectTpl": "string", "bodyTpl": "string", "engine": null }'{ "data": 0, "value": 0}