API ਸੰਦਰਭ
campaigns
ਇਸ ਖੇਤਰ ਵਿੱਚ 10 ਐਂਡਪੁਆਇੰਟ ਹਨ। ਹਰ ਇੱਕ ਦਾ ਆਪਣਾ ਪੰਨਾ ਹੈ ਜਿਸ ਵਿੱਚ ਇਸ ਦੇ ਮਾਪਦੰਡ, ਇਸ ਦਾ ਜਵਾਬ ਅਤੇ ਇੱਕ ਬੇਨਤੀ ਹੈ ਜਿਸ ਨੂੰ ਤੁਸੀਂ ਚਲਾ ਸਕਦੇ ਹੋ।
| ਢੰਗ | ਪਾਥ | ਇਹ ਕੀ ਕਰਦਾ ਹੈ | ਇਜਾਜ਼ਤ |
|---|---|---|---|
| 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. | — |