Referensi API
campaigns
10 titik akhir di area ini. Masing-masing memiliki halamannya sendiri dengan parameternya, responsnya, dan permintaan yang dapat Anda jalankan.
| Metode | Jalur | Apa fungsinya | Izin |
|---|---|---|---|
| GET | /v1/campaigns/segments | Your saved audience segments. | — |
| POST | /v1/campaigns/segments | Save a new audience segment. | — |
| GET | /v1/campaigns/segments/fields | The filter vocabulary, its value lists and the magic tags. | — |
| POST | /v1/campaigns/segments/preview | How many people this reaches, who they are, and who it leaves out. | — |
| DELETE | /v1/campaigns/segments/{segmentId} | Archive a segment. | — |
| GET | /v1/campaigns/segments/{segmentId} | One saved segment. | — |
| PATCH | /v1/campaigns/segments/{segmentId} | Rename a segment or change its filters. | — |
| GET | /v1/campaigns/suppressions | Addresses that must not receive marketing. | — |
| POST | /v1/campaigns/suppressions | Add an address to the suppression list. | — |
| POST | /v1/campaigns/unsubscribe | Leave a marketing list. No account needed. | — |