web-push-templates
Create Web Push Template
post/v1/web-push-templates
Request
- Base URL: https://api.elaan.io (the document declares no server; this is the origin it was published from)
- URL: https://api.elaan.io/v1/web-push-templates
- Auth: none declared
Headers
authorizationstring nullable
Request body
Example request
{
"title": "Your order shipped",
"body": "It's on its way.",
"icon": "{{ brand.icon_url }}",
"badge": "https://example.com/badge.png",
"url": "https://example.com/orders/{{ order_id }}",
"data": {
"order_id": "{{ order_id }}"
},
"language": "es",
"notification_type_key": "order_shipped",
"branding_key": "acme"
}Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.