POST
/
api
/
v3
/
templates
curl --request POST \
  --url https://pointer-rcs-api-node.pontaltech.com.br/api/v3/templates \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form 'json={
  "template_name": "Exemplo template Pontaltech",
  "channel": "rcs",
  "elements": [
    {
      "type": "text",
      "content": {
        "text": {
          "message": "<string>"
        }
      }
    }
  ]
}'
{
  "id": "682b8d0c9a1bbe52398a2fb1"
}

Authorizations

Authorization
string
header
required

Authentication header in the format Bearer token, where token is your authentication code.

Headers

X-Auth-Type
enum<string>

Optional header to use OAuth2

Available options:
JWT
Example:

"JWT"

Body

multipart/form-data
json
object
file1
file

Arquivo para upload 1

file2
file

Arquivo para upload 2

Response

200
application/json
Successful response
id
string
Example:

"682b8d0c9a1bbe52398a2fb1"