Skip to content
Docs
Open Escouade
Documentation contents

Docs › Mail › Tools

save_contact

View as .md

Save a contact.

Creates or updates the global record: properties left out are kept. Changes neither audience customisations, nor campaigns already scheduled, nor unsubscribes. Sends nothing.

Access

  • Key: an Escouade Mail key with send.
  • Space: a verified space.
  • Changes nothing: no, it acts.
  • Safe to replay: use an idempotency_key where the tool offers one.

Parameters

ParameterTypeRequiredDescription
emailstringyesUnique address: creates the record if it does not exist.
namestringnoName. Absent: kept; empty: erased.
fieldsobjectnoReplaces the global fields if given; fields specific to audiences stay unchanged.
labelslist of stringnoReplaces the global tags if given.

Call it

Terminal
curl -s https://api.subagent.fr/v1/save_contact \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer sak_…' \
  -d '{"email": "…"}'

The full page in French, with the response fields and every refusal the tool can return: /mail/docs/reference/save_contact.

This page in Markdown: /en/mail/docs/reference/save_contact.md All the docs for an agent: /en/mail/docs/llms.txt Legal notice · Terms · Privacy · Service status