Update an SMS template

Use this endpoint to update an existing SMS template.

Path Params
string
required

Specify the UUID of the template that you want to update. You can copy the UUID from the URL of the template on the Blueshift app. For example, if you open a template in the Blueshift app, its URL looks like https://app.getblueshift.com/dashboard#/app/sms_template/<template_uuid>/edit.

Body Params

Specify the values of the properties that you want to update in the template.

template
object
required

Specify the properties of the template.

template_property
object

Specify the campaign behavior properties for the template.

external_fetches
array of objects

Specify the external fetches for the template. If you leave this field blank, any external fetches that were previously added to the template will be removed.

external_fetches
transaction_mixins
array of objects

Specify the transaction mixins for the template. If you leave this field blank, any transaction mixins that were previously added to the template will be removed.

transaction_mixins
Responses

400

The request was invalid or cannot be otherwise served. An accompanying error message will explain further.

404

Resource not found. This can happen due to resource conflicts. Retry with exponential backoff. If the issue persists, contact Blueshift.

409

Conflict error, please retry. The request could not be completed due to a conflict with the current state of the target resource. Re-try with exponential backoff.

429

Rate limit exceeded. Too many requests. Contact us on [email protected] for recommended throughput.

500

Internal server error. Contact Blueshift for more information.

502

Service unavailable, please retry. Bad gateway. Retry with exponential backoff.

503

Service unavailable, please retry. Service unavailable. Retry with exponential backoff.

504

Service unavailable, please retry. Gateway timeout. Retry with exponential backoff.

Language
Credentials
Basic
base64
:
URL
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json