/mapping/schema/:platform
Returns a platform’s mapping field catalogue by platform name (not integration id), the caller’s connected integrations on that platform, and a template record. Call it before writing records so you use exact field keys and valid values.
fields[]:keyis the exact name a record’sfieldmust use;labelis the human title;schemais the JSON Schema each value is validated against.readonlyfields are computed (computed_fromnames the source) and can never be written.owner_onlyfields can only be set by the integration’s owning organisation (or its parents, or CORE). The built-inapprovedfield (boolean; unset means approved) comes last; only the owner can set it, and only at integration, organisation or publisher level.integrations[]: connected integrations on this platform that POST /v1/mapping/apply accepts from the caller (its organisation chain plus CORE’s; fallback creatives and hidden integrations left out). Putintegration_idin each record.is_ownertells you whether owner-only fields and integration-level values are writable.levelsandrecord: the allowed levels and a record template.
Gotchas: the catalogue is the owner’s view, so pair owner_only with is_owner. Some fields can’t be set per ad unit (config level); POST /v1/mapping/validate reports those. required can under-report: use GET /v1/mapping/gaps to find what is actually missing. For one connected integration’s catalogue as the caller sees it, use GET /v1/integration//fields.
Next steps: build records → POST /v1/mapping/validate → POST /v1/mapping/apply. Requires the integration.view permission.