v1

latestOpenAPI 3.0.0Apache 2.02026-07-2410185524.2 KB
Media

add media

Upload one or more files to the media library of your campaign.

For custom components:

RaiselyComponents.api.one('campaigns', '{campaign}').one('media', '{folderUuid}').post(data = {}, params = {}, headers = {}) => Promise<{result}>

:fa-gears: See Restie Response Data for a more detailed overview of responses through the client wrapper

post/campaigns/{campaign}/media/{folderUuid}

Path parameters

folderUuidstring required

Folder id to upload the file(s) to. This can be anything.

campaignstring required

The uuid, path or domain of the campaign to associate with the request

Headers

Authorizationstring

A valid HTTP Bearer token, required to access private records.

Response

URLs of the files uploaded