# The words a template set gives in a language for some data

`POST /notify/templates/{name}/render` · Rivier · campaigns

The words a template set gives in a language for some data: the asked language, then its base language, then the fallback; names with no value are listed.

- Scope: campaigns:read
- Mcp: rivier_notify_template_render
- Graphql: Query.campaignsNotifyTemplateRender
- Sdk: campaigns.notifyTemplate.render
- Cli: campaigns notify template render

## Parameters

- `name` (path, required), string

## Request body

`application/json`

```json
{
  "type": "object",
  "properties": {
    "language": {
      "type": "string",
      "pattern": "^[a-z]{2,3}(-[A-Za-z0-9]{2,8})?$"
    },
    "data": {
      "type": "object",
      "additionalProperties": {},
      "default": {}
    }
  },
  "additionalProperties": false
}
```

## Responses

- `200`: Success
- `400`: The request was malformed
- `401`: No valid credential
- `403`: The credential lacks the scope, origin or address
- `429`: Over the key's rate limit; see Retry-After

## Example

```sh
curl -X POST 'https://api.rivier.ai/notify/templates/{name}/render' \
  -H 'Authorization: Bearer $KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "language": "string",
  "data": {}
}'
```
