API حوالہ
Campaigns
اس علاقے میں 18 اینڈ پوائنٹس ہیں۔ ہر ایک کا اپنا صفحہ ہے جس میں اس کے پیرامیٹرز، اس کا رسپانس اور ایک ریکوئسٹ ہے جسے آپ چلا سکتے ہیں۔
| طریقہ کار | پاتھ | یہ کیا کرتا ہے | اجازت |
|---|---|---|---|
| GET | /v1/campaigns | The organisation's campaigns. | — |
| POST | /v1/campaigns | Create a campaign from a template and an audience. | — |
| DELETE | /v1/campaigns/esp | Disconnect the provider account and remove its stored key. | — |
| GET | /v1/campaigns/esp | The organisation's own e-mail provider account. | — |
| POST | /v1/campaigns/esp | Connect an e-mail provider account. | — |
| POST | /v1/campaigns/esp/verify | Prove the provider account works and read its verified domains. | — |
| POST | /v1/campaigns/preview | Render a template with example values. | — |
| GET | /v1/campaigns/tags | The magic-tag palette a campaign composer offers. | — |
| GET | /v1/campaigns/templates | The organisation's campaign templates. | — |
| POST | /v1/campaigns/templates | Author a campaign template. | — |
| DELETE | /v1/campaigns/templates/{templateId} | Archive a template and retire its translation sources. | — |
| GET | /v1/campaigns/templates/{templateId} | One campaign template. | — |
| PUT | /v1/campaigns/templates/{templateId} | Edit a campaign template. | — |
| DELETE | /v1/campaigns/{campaignId} | Delete a campaign and retire its delivery rows. | — |
| GET | /v1/campaigns/{campaignId} | One campaign and its delivery report. | — |
| POST | /v1/campaigns/{campaignId}/control | Pause, resume or cancel a running send. | — |
| POST | /v1/campaigns/{campaignId}/send | Start the durable send. | — |
| POST | /v1/campaigns/{campaignId}/test | Send one real message on the channel the campaign will actually use. | — |