Skip to content
Docs
Open Escouade
Documentation contents

Docs › Mail › Tools

list_campaigns

View as .md

List campaigns.

The space’s campaigns, native or taken over from Prescriptio. Imported history never starts again on its own. 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
offsetintegernoPosition to start from, for the next page.
archivedbooleannoShow archives.

Call it

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

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