Skip to content
Docs
Open Escouade
Documentation contents

Docs › Mail › Tools

campaign_history

View as .md

A campaign’s history.

Sends taken over from the source, their dates, states and details, without putting any message back in the queue. 100 per page.

Access

  • Key: an Escouade Mail key with read.
  • Space: any space, verified or not.
  • Changes nothing: yes, it only reads.
  • Safe to replay: yes.

Parameters

ParameterTypeRequiredDescription
campaign_idstringyesCampaign.
offsetintegernoPosition to start from, for the next page.

Call it

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

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