Email campaigns (legacy)

Update email campaign sending providers

Sets the sending account(s). Either provide provider.id for a single provider, or useManyProviders=true with providersUsed=[...] for rotation. At least one of provider or useManyProviders is required. The campaign must not be RUNNING or ARCHIVED. New integrations should use the multichannel /advanced campaign endpoints instead.

patch/emails/campaigns/{campaignId}/settings/providers

Request

  • Base URL: https://api.emelia.io
  • URL: https://api.emelia.io/emails/campaigns/{campaignId}/settings/providers
  • Auth: API key in header Authorization

Path parameters

campaignIdstring required

Mongo ObjectId of the campaign.

Request body

useManyProvidersboolean
providersUsedstring[]

Provider ObjectIds used when useManyProviders is true.

Response

Updated campaign.

successtrue required

Changes

No recorded changes to this operation across all 1 revision of this API.