githubEdit

Get Templates

Get All Templates (List Templates)

Retrieves a full list of all templates for the organization.

GET https://www.channel360.co.za/v1.1/org/{{orgId}}/templates/list

 {
        "tags": {
            "head": [],
            "body": [],
            "buttons": []
        },
        "organization": "67ea68df674ce7a1b7002b75",
        "language": "en",
        "name": "dev_test_template",
        "messageTemplateId": "748356241190585",
        "category": "UTILITY",
        "components": [
            {
                "type": "BODY",
                "text": "Hello this is a test.",
                "buttons": []
            }
        ],
        "createdAt": "2025-04-07T09:00:27.933Z",
        "description": "auto-ingested",
        "enabled": false,
        "namespace": "",
        "status": "REJECTED",
        "updatedAt": "2025-07-17T09:14:58.444Z",
        "version": 1,
        "id": "67f3942b4dcb08ab2bdcc1b3"
    },
    {
        "tags": {
            "head": [],
            "body": [],
            "buttons": []
        },
        "organization": "67ea68df674ce7a1b7002b75",
        "language": "en",
        "name": "testing_market",
        "messageTemplateId": "1177319604100139",
        "category": "MARKETING",
        "components": [
            {
                "type": "BODY",
                "text": "Hi would we are marketing",
                "buttons": []
            }
        ],
        "createdAt": "2025-04-07T09:00:27.933Z",
        "description": "auto-ingested",
        "enabled": true,
        "namespace": "",
        "status": "APPROVED",
        "updatedAt": "2025-07-17T09:14:58.444Z",
        "version": 0,
        "id": "67f3942b4dcb08ab2bdcc1b4"
    },
    {
        "tags": {
            "head": [],
            "body": [
                {
                    "index": 2,
                    "type": "hard-coded",
                    "value": "Dr Banana"
                },
                {
                    "index": 3,
                    "type": "on-campaign-creation",
                    "value": "Date"
                },
                {
                    "index": 7,
                    "type": "hard-coded",
                    "value": "Marinda"
                },
                {
                    "index": 4,
                    "type": "on-campaign-creation",
                    "value": "Date"
                },
                {
                    "index": 6,
                    "type": "hard-coded",
                    "value": "23 Church Street"
                },
                {
                    "index": 8,
                    "type": "subscriber-field",
                    "fields": "firstName"
                },
                {
                    "index": 1,
                    "type": "subscriber-field",
                    "fields": "firstName"
                }
            ],
            "buttons": []
        },
        "organization": "67ea68df674ce7a1b7002b75",
        "language": "en",
        "name": "text_test",
        "messageTemplateId": "347437139873292",
        "category": "UTILITY",
        "components": [
            {
                "type": "BODY",
                "text": "*Appointment Confirmation* 🗓\n\nHi {{1}}! This is a friendly reminder for your appointment with {{2}} on {{3}}. Please arrive at reception 10min before the start of your scheduled time.\n\nDate:       {{4}}\nTime:       {{5}}\nLocation:   {{6}}\nReception:  {{7}}\n\nReply \"C\" to confirm or \"N\" to cancel.\n\nWe look forward to seeing you!\n\nYour {{8}} team! 🖐",
                "buttons": []
            }
        ],
        "createdAt": "2025-04-07T09:00:27.933Z",
        "description": "auto-ingested",
        "enabled": true,
        "namespace": "",
        "status": "APPROVED",
        "updatedAt": "2025-07-17T09:14:58.444Z",
        "version": 57,
        "id": "67f3942b4dcb08ab2bdcc1b5"
    },

Filter & Query Template List

You can filter templates by enabled status & configured templates.

GET https://www.channel360.co.za/v1.1/org/{{orgId}}/templates/list?enabled=true&filter=configured

Filter by Enabled Only

GET https://www.channel360.co.za/v1.1/org/{{orgId}}/templates/list?enabled=true

Get a Template by Name

Use this endpoint when you want to retrieve a specific template using its name.

Example: Getting a template named test546.

GET https://www.channel360.co.za/v1.1/org/{{orgId}}/templates/{{templateName}}

Last updated

Was this helpful?