Rivier/ Reference/ campaigns

Create or replace a template set

put/notify/templates/{name}

Create or replace a template set: one name, a fallback language, and per language the push and feed title and body, the mail subject and body, a text, and the approved WhatsApp template with the data keys that fill it.

Before you call

Credential
Authorization: Bearer $KEY
Scope
campaigns:write
Mcp
rivier_notify_template_put
Graphql
Mutation.campaignsNotifyTemplatePut
Sdk
campaigns.notifyTemplate.put
Cli
campaigns notify template put

Parameters

  • namestringrequired
    In the path

Request bodyapplication/json, required

  • fallbackstringrequired
    The language used when the asked one and its base language are missing Pattern: ^[a-z]{2,3}(-[A-Za-z0-9]{2,8})?$.
  • languagesobjectrequired

Responses

  • 200application/json
    Success
    • 400application/json
      The request was malformed
      • errorstringrequired
      • messagestring
    • 401application/json
      No valid credential
      • errorstringrequired
      • messagestring
    • 403application/json
      The credential lacks the scope, origin or address
      • errorstringrequired
      • messagestring
    • 429application/json
      Over the key's rate limit; see Retry-After
      • errorstringrequired
      • messagestring

    This page as Markdown