Get SMS template

This method allows you to retrieve one SMS template.

GET

/sms-templates/:template_id

GET Parameters

template_id SMS template id

Examples


GET /sms-templates/123 HTTP/1.1
Host: 
Content-type: application/json
Authorization: Bearer your.token
      
    

Result Format


{
    "status": 1,
    "message": "OK",
    "templates": {
        "template_id": "1",
        "name": "My template",
        "template": "Hello, I'm a model with a link <-short->, with a file <-file-> and a smiley 😉",
        "creation_date": "2024-12-22 01:03:44",
        "links": {                              //Links match tags
            "customLinks": [
                "https://www.smsfactor.com/"
            ],
            "fileLinks": [
                "123_22020420090110 myFile"
            ]
        },
        "unicode": true,
    },
}