save_audience
Save an audience.
Creates an audience, or renames the one given by audience_id. Contacts are then loaded with import_contacts.
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 |
|---|---|---|---|
audience_id | string | no | Audience to rename, optional. |
name | string | yes | Name of the audience. |
Call it
curl -s https://api.subagent.fr/v1/save_audience \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer sak_…' \
-d '{"name": "…"}'The full page in French, with the response fields and every refusal the tool can return: /mail/docs/reference/save_audience.
This page in Markdown: /en/mail/docs/reference/save_audience.md
All the docs for an agent: /en/mail/docs/llms.txt
Legal notice · Terms · Privacy · Service status