push-templates

Create Push Template

post/v1/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/push-templates
  • Auth: none declared

Headers

authorizationstring nullable

Request body

languagestring nullable
notification_type_keystring required
branding_keystring nullable
titlestring
bodystring
dataobject

Example request

{
  "language": "es",
  "notification_type_key": "order_shipped",
  "branding_key": "acme",
  "title": "Your order shipped",
  "body": "It's on its way.",
  "data": {
    "deep_link": "/orders/{{ order_id }}"
  }
}

Response

Successful Response

idstring required
notification_type_keystring required
branding_keystring nullable required
languagestring nullable required
variablesstring[] required
titlestring required
bodystring required
dataobject required

Changes

No recorded changes to this operation across all 1 revision of this API.