cURL
curl --request PUT \ --url http://localhost:3001/api/admin/content/templates \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data ' { "workspaceId": "<string>", "name": "<string>", "id": "<string>", "definition": { "title": "<string>", "body": "<string>", "imageUrl": "<string>" }, "draft": { "title": "<string>", "body": "<string>", "imageUrl": "<string>" } } '
{ "workspaceId": "<string>", "id": "<string>", "name": "<string>", "updatedAt": 123, "definition": { "title": "<string>", "body": "<string>", "imageUrl": "<string>", "android": { "notification": { "channelId": "<string>" } } }, "draft": { "title": "<string>", "body": "<string>", "imageUrl": "<string>", "android": { "notification": { "channelId": "<string>" } } } }
Create or update message template
Documentation IndexFetch the complete documentation index at: https://docs.dittofeed.com/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.dittofeed.com/llms.txt
Use this file to discover all available pages before exploring further.
Mobile push template resource
Show child attributes
Declarative
Default Response
Email