Skip to main content
PATCH
Node.js

Authorizations

Authorization
string
header
required

Send your API key as Authorization: Bearer rw_....

Required scope: project:templates:write.

Path Parameters

id
string
required

Template identifier returned by Rewrite.

Example:

"748395130237498412"

Body

application/json
content
string

Updated default SMS content.

Required string length: 1 - 1024
Example:

"Rewrite: seu codigo e {{code}}"

variables
object[]

Updated variable definitions for the template.

Maximum array length: 15
Example:
description
string | null

Updated human-readable description for the template.

Required string length: 1 - 72
Example:

"Template usado no fluxo de recuperacao de conta"

tags
object

Replacement metadata stored with the template.

Example:

Response

200 - application/json

Successful response

ok
boolean
required
data
null
required