Upload a campaign image

POSThttp://localhost:4000/api/marketingCampaigns/updateCampaignImage

Uploads or replaces the image of a campaign. Send the request as multipart/form-data, with the file in a field called imageFile.

Your API key needs the marketingCampaigns.MANAGE permission.

Body Params

campaignIdintegerrequired

ID of the campaign.

imageFilestringrequired

The image file.

Responses

200Successful response.
400The request is not valid.
401The API key is missing, invalid, expired or disabled.
403The API key does not have the permission this endpoint needs.