cURL
curl --request GET \ --url http://localhost/api/admin/content/templates \ --header 'Authorization: <api-key>'
{ "templates": [ { "id": "<string>", "name": "<string>", "workspaceId": "<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>" } } }, "whatsappTemplate": { "rejectionReason": "<string>" } } ] }
Get message templates
Documentation IndexFetch the complete documentation index at: https://docs.tranthor.com/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.tranthor.com/llms.txt
Use this file to discover all available pages before exploring further.
Default Response
Show child attributes