API-hivatkozás
campaigns
10 végpont található ezen a területen. Mindegyiknek saját oldala van a paramétereivel, a válaszával és egy futtatható kéréssel.
| Metódus | Elérési út | Mit csinál | Jogosultság |
|---|---|---|---|
| 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. | — |