Entrar

Sequence-Templates: Vincular

POST https://{organization}.myguper.com/api/sender/sequence/{id}/templates

Vincula un template a una sequence. El servidor resuelve trigger_slug y provider_type del template automáticamente — el body lleva solo el id del template y la flag active inicial.

Try-it values populated from environment ACME (Demo)


Autenticación

Token

Send your user token in the x-guper-authorization header.

Encabezados

Name Type Description
x-guper-authorization * string User token issued by Guper.
Content-Type * string Always `application/json` for endpoints that accept a JSON body.

Parámetros de ruta

Name Type Description
id * integer Sequence id.

Cuerpo de la petición

Content-Type: application/json

{
    "template": 44,
    "active": true                                              // optional
}

Respuestas

{ "sequence": 12, "template": 44, "active": true }
Copied to clipboard