Tone docs
API referenceCampaigns

Export the recipient list, outcomes included

Streams CSV rather than JSON, for the whole list rather than a page.

Requires the read scope. A key with less gets 403 insufficient_scope.

GET
/v1/campaigns/{id}/export.csv
AuthorizationBearer <token>

Authorization: Bearer tone_live_… or tone_test_…. The prefix IS the environment: a test key reaches only the sandbox, and no request field bridges the two.

In: header

Path Parameters

id*string

The campaign's id.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/campaigns/string/export.csv"
Empty
Was this page helpful?