cURL
curl --request POST \ --url https://api.pocketflows.com/sms_templates/{id} \ --header 'Authorization: Basic <encoded-value>' \ --header 'Content-Type: application/json' \ --data '{ "name": "<string>", "message": "<string>", "image": "<any>" }'
{ "id": "<string>", "name": "<string>", "message": "<string>", "estimated_sms_segments": 123, "estimated_segments": { "sms": 123, "mms": 123 } }
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Basic <encoded-value>
<encoded-value>
username:password
The ID of the SMS template
The updated SMSTemplate object
SMSTemplate
The response is of type object.
object