save_campaign_template
Save a template.
Creates or updates a reusable template of the space: subject, text and optional HTML. No send is scheduled.
Access
- Key: an Escouade Mail key with
send. - Space: a verified space.
- Changes nothing: no, it acts.
- Safe to replay: use an
idempotency_keywhere the tool offers one.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
template_id | string | no | Identifier of the existing template. |
name | string | yes | Name. |
subject | string | yes | Subject. |
text | string | yes | Text. |
html | string | no | Optional HTML. |
Call it
curl -s https://api.subagent.fr/v1/save_campaign_template \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer sak_…' \
-d '{"name": "…", "subject": "…", "text": "…"}'The full page in French, with the response fields and every refusal the tool can return: /mail/docs/reference/save_campaign_template.
This page in Markdown: /en/mail/docs/reference/save_campaign_template.md
All the docs for an agent: /en/mail/docs/llms.txt
Legal notice · Terms · Privacy · Service status