ReferenceCampaigns API
Export segment members as CSV
GET
Downloads up to 500 segment members as a UTF-8 CSV file compatible with CSV re-import.
- Columns include
name,phone,bsuid, and allattr_*custom attribute keys present on the segment. - Supported for both
manualsegments and materializedautomaticsegments.
bearerheader
AuthorizationBearer <API key>Key issued in Settings → Developer → API key. Inbox methods need the Inbox scope. Campaigns methods need the Campaigns scope.
segmentId*stringSegment id returned by create or list.
CSV file with segment members.
curl -X GET 'https://api.1msg.io/api/v1/campaigns/segments/string/members/export'Example Response
Empty
