API ਸੰਦਰਭ

Campaigns

ਇਸ ਖੇਤਰ ਵਿੱਚ 18 ਐਂਡਪੁਆਇੰਟ ਹਨ। ਹਰ ਇੱਕ ਦਾ ਆਪਣਾ ਪੰਨਾ ਹੈ ਜਿਸ ਵਿੱਚ ਇਸ ਦੇ ਮਾਪਦੰਡ, ਇਸ ਦਾ ਜਵਾਬ ਅਤੇ ਇੱਕ ਬੇਨਤੀ ਹੈ ਜਿਸ ਨੂੰ ਤੁਸੀਂ ਚਲਾ ਸਕਦੇ ਹੋ।

ਢੰਗਪਾਥਇਹ ਕੀ ਕਰਦਾ ਹੈਇਜਾਜ਼ਤ
GET/v1/campaignsThe organisation's campaigns.
POST/v1/campaignsCreate a campaign from a template and an audience.
DELETE/v1/campaigns/espDisconnect the provider account and remove its stored key.
GET/v1/campaigns/espThe organisation's own e-mail provider account.
POST/v1/campaigns/espConnect an e-mail provider account.
POST/v1/campaigns/esp/verifyProve the provider account works and read its verified domains.
POST/v1/campaigns/previewRender a template with example values.
GET/v1/campaigns/tagsThe magic-tag palette a campaign composer offers.
GET/v1/campaigns/templatesThe organisation's campaign templates.
POST/v1/campaigns/templatesAuthor 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}/controlPause, resume or cancel a running send.
POST/v1/campaigns/{campaignId}/sendStart the durable send.
POST/v1/campaigns/{campaignId}/testSend one real message on the channel the campaign will actually use.