Tài liệu tham khảo API

Campaigns

Có 18 điểm cuối trong khu vực này. Mỗi điểm cuối có một trang riêng với các tham số, phản hồi và yêu cầu mà quý vị có thể thực hiện.

Tất cả tài liệu dành cho nhà phát triển →

Phương thứcĐường dẫnChức năngQuyền
GET/v1/campaignsThe organisation's campaigns.campaigns.view
POST/v1/campaignsCreate a campaign from a template and an audience.campaigns.view
DELETE/v1/campaigns/espDisconnect the provider account and remove its stored key.campaigns.send
GET/v1/campaigns/espThe organisation's own e-mail provider account.campaigns.view
POST/v1/campaigns/espConnect an e-mail provider account.campaigns.send
POST/v1/campaigns/esp/verifyProve the provider account works and read its verified domains.campaigns.send
POST/v1/campaigns/previewRender a template with example values.campaigns.view
GET/v1/campaigns/tagsThe magic-tag palette a campaign composer offers.campaigns.view
GET/v1/campaigns/templatesThe organisation's campaign templates.campaigns.view
POST/v1/campaigns/templatesAuthor a campaign template.campaigns.view
DELETE/v1/campaigns/templates/{templateId}Archive a template and retire its translation sources.campaigns.view
GET/v1/campaigns/templates/{templateId}One campaign template.campaigns.view
PUT/v1/campaigns/templates/{templateId}Edit a campaign template.campaigns.view
DELETE/v1/campaigns/{campaignId}Delete a campaign and retire its delivery rows.campaigns.send
GET/v1/campaigns/{campaignId}One campaign and its delivery report.campaigns.view
POST/v1/campaigns/{campaignId}/controlPause, resume or cancel a running send.campaigns.send
POST/v1/campaigns/{campaignId}/sendStart the durable send.campaigns.send
POST/v1/campaigns/{campaignId}/testSend one real message on the channel the campaign will actually use.campaigns.send