ZeepNotti Docs
API Reference

Templates

Create reusable notification templates with placeholder substitution.

GET
/v1/apps/{app_id}/templates

Lists every template belonging to the App, ordered by creation time.

Authorization

Path Parameters

app_id*string

App ID

Response Body

application/json

curl -X GET "https://example.com/v1/apps/string/templates"
[  {    "app_id": "string",    "body": "string",    "created_at": "string",    "id": "string",    "name": "string",    "title": "string"  }]
POST
/v1/apps/{app_id}/templates

Creates a notification template (title/body) scoped to the App.

Authorization

Path Parameters

app_id*string

App ID

Request Body

application/json

Template name, title, and body

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/v1/apps/string/templates" \  -H "Content-Type: application/json" \  -d '{}'
{  "app_id": "string",  "body": "string",  "created_at": "string",  "id": "string",  "name": "string",  "title": "string"}
GET
/v1/apps/{app_id}/templates/{id}

Fetches a single template by ID, scoped to the App.

Authorization

Path Parameters

app_id*string

App ID

id*string

Template ID

Response Body

application/json

curl -X GET "https://example.com/v1/apps/string/templates/string"
{  "app_id": "string",  "body": "string",  "created_at": "string",  "id": "string",  "name": "string",  "title": "string"}
PATCH
/v1/apps/{app_id}/templates/{id}

Partially updates a template's name, title, and/or body. Fields omitted (empty string) from the request keep their existing value.

Authorization

Path Parameters

app_id*string

App ID

id*string

Template ID

Request Body

application/json

Fields to update

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X PATCH "https://example.com/v1/apps/string/templates/string" \  -H "Content-Type: application/json" \  -d '{}'
{  "app_id": "string",  "body": "string",  "created_at": "string",  "id": "string",  "name": "string",  "title": "string"}
DELETE
/v1/apps/{app_id}/templates/{id}

Deletes a template by ID, scoped to the App.

Authorization

Path Parameters

app_id*string

App ID

id*string

Template ID

Response Body

curl -X DELETE "https://example.com/v1/apps/string/templates/string"
Empty