Skip to main content
POST
Apply mapping values to an integration

Authorizations

Authorization
string
header
required

A personal API token from the platform's settings page, or an OAuth access token.

Path Parameters

id
string
required

Encoded integration ID (iid, base-36, as returned by GET /v1/integration), not the numeric integration ID.

Query Parameters

uid
integer

Publisher ID. Looks the integration up among those available to this publisher's organisation instead of yours. Unless you're a platform admin, the publisher must be in your own organisation.

Body

application/json
mode
enum<string>
default:overwrite

How to treat a field that already has a stored value for the entity, including an empty or will-not-map one. Any other value returns a 400. Values: overwrite = Replace it (default), append = Leave it and count the record as skipped.

Available options:
overwrite,
append
records
Record · object[]

The mapping records for this integration. A record's own integration_id is ignored. Missing is treated as an empty list.

report_redundant
boolean
default:false

Also returns, in redundant, the lower-level values the saved ones have made redundant (the same value, which every tag would resolve the same way without), limited to those you could delete. Nothing is deleted. Defaults to false.

Response

OK: What was written, skipped and refused.

results
object
required
success
boolean
required

Always true.