Edit Templates

Edit Templates

Edit template using post method under your account

API Endpoint

https://portal.mobtexting.com/api/v2/

POST

{endpoint}sms/template/edit/{id}

Replace the {id} with the actual id of the template that you would like to Edit.

PARAMETERS

Name Optinal Descriptions
name Yes Input the name of the template that you would like to refer with
body No Input the body of the sms(template)
template_id Mixed DLT Template id (required for india)

Example Request

curl -X POST \
 {endpoint}sms/template/edit/b10a9c3c-33bd-42f4-9e68-31c2216e5bcf \
    -H 'Accept: application/json' \
    -H 'Authorization: Bearer 5b02112fb7xxxxxxxxx'
    -H 'Content-Type: application/x-www-form-urlencoded'
    -F body=testing-2

Example Response

{
  "status": "OK",
  "message": "Template updated successfully"
}