Add a destination

Adds an ad-platform destination to the active workspace with the given credentials.

Authentication

X-Workspace-Idstring
API Key authentication via header

Request

This endpoint expects an object.
platformenumRequired

Ad platforms. The subset with a destination adapter is dispatchable for CAPI (incl. Reddit); the rest (e.g. x) appear only as click sources.

credentialsmap from strings to stringsRequired
enabledbooleanOptionalDefaults to true

Response

Successful Response
idstringformat: "uuid"
platformenum

Ad platforms. The subset with a destination adapter is dispatchable for CAPI (incl. Reddit); the rest (e.g. x) appear only as click sources.

enabledboolean
created_atdatetime
updated_atdatetime

Errors

422
Unprocessable Entity Error