Skip to main content

Update SMS Template

API Description

Update existing SMS template information.

Request Information

idstringrequired
Template ID
?
TemplateNamestring
Template name
?
Templatestring
Template content
?
Instructionstring
Usage instructions
Tagsstring
Tag list (JSON array), e.g. [1, 2]
?
VariableAttrstring
Template variable attributes

LANGUAGE

CREDENTIALS

👁️
🔒
🔑Log in to get ACCESSKEY_ID and ACCESSKEY_SECRET

URL

PUT
CURL Request
curl -X PUT "https://api.uspeedo.com/api/v1/usms/USMSTemplate/template_id_1" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Authorization: Basic $(echo -n 'ACCESSKEY_ID:ACCESSKEY_SECRET' | base64)" \
-d '{
"id": "template_id_1",
"TemplateName": "UpdatedTemplate",
"Template": "Your verification code is {1}, please keep it confidential"
}'

RESPONSE

Click Try It! to start a request and see the response here.

Common Error Codes

Error CodeDescription
0Success
215392Parameter error
215396Template not found
215400Server error