openapi: 3.2.0 info: title: Drata Procurement Connection Mappings API version: V2 contact: {} description: 'Operations tagged Procurement Connection Mappings across 2 of this provider''s published API definitions: drata-api-v2-openapi.json, drata-api-v2-openapi.yml. Each path carries the servers of the definition it was published in.' servers: - url: https://public-api.drata.com/public/v2 - url: https://public-api.eu.drata.com/public/v2 - url: https://public-api.apac.drata.com/public/v2 tags: - name: Procurement Connection Mappings paths: /connections/{connectionId}/vendor-mapping: get: description: 'Get the vendor mapping configuration for a procurement connection (Ironclad or Tropic). Returns the JSONata mapping (merged with AI suggestions if available), vendor type filters, and dry run mode. 🔒 Requires **Connections: Get Procurement Connection Vendor Mapping** permission.' operationId: ProcurementConnectionMappingsPublicV2Controller_getVendorMapping parameters: - name: connectionId required: true in: path schema: type: number responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/ProcurementConnectionMappingResponsePublicV2Dto' '400': description: Malformed data and/or validation errors content: application/json: schema: $ref: '#/components/schemas/ExceptionResponsePublicV2Dto' '401': description: Invalid Authorization content: application/json: schema: $ref: '#/components/schemas/ExceptionResponseDto' '403': description: You are not allowed to perform this action content: application/json: schema: $ref: '#/components/schemas/ExceptionResponseDto' '404': description: Not Found content: application/json: schema: $ref: '#/components/schemas/ExceptionResponsePublicV2Dto' '412': description: You must accept the Drata terms and conditions to use the API content: application/json: schema: $ref: '#/components/schemas/ExceptionResponseDto' '500': description: Internal server error content: application/json: schema: $ref: '#/components/schemas/ExceptionResponseDto' security: - bearer: [] summary: Get Vendor Mapping tags: - Procurement Connection Mappings x-drata-permissions: - connections-get-vendor-mapping x-product-area: - VENDOR_PROCUREMENT_INTEGRATION put: description: 'Update the vendor mapping configuration for a procurement connection (Ironclad or Tropic). Allows modifying the JSONata mapping, vendor type filters, and dry run mode. 🔒 Requires **Connections: Update Procurement Connection Vendor Mapping** permission.' operationId: ProcurementConnectionMappingsPublicV2Controller_updateVendorMapping parameters: - name: connectionId required: true in: path schema: type: number requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/ProcurementConnectionMappingUpdateRequestPublicV2Dto' responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/ProcurementConnectionMappingResponsePublicV2Dto' '400': description: Malformed data and/or validation errors content: application/json: schema: $ref: '#/components/schemas/ExceptionResponsePublicV2Dto' '401': description: Invalid Authorization content: application/json: schema: $ref: '#/components/schemas/ExceptionResponseDto' '403': description: You are not allowed to perform this action content: application/json: schema: $ref: '#/components/schemas/ExceptionResponseDto' '404': description: Not Found content: application/json: schema: $ref: '#/components/schemas/ExceptionResponsePublicV2Dto' '412': description: You must accept the Drata terms and conditions to use the API content: application/json: schema: $ref: '#/components/schemas/ExceptionResponseDto' '500': description: Internal server error content: application/json: schema: $ref: '#/components/schemas/ExceptionResponseDto' security: - bearer: [] summary: Update Vendor Mapping tags: - Procurement Connection Mappings x-drata-permissions: - connections-put-vendor-mapping x-product-area: - VENDOR_PROCUREMENT_INTEGRATION servers: - url: https://public-api.drata.com/public/v2 - url: https://public-api.eu.drata.com/public/v2 - url: https://public-api.apac.drata.com/public/v2 components: schemas: ExceptionResponseDto: type: object properties: statusCode: type: number message: type: string code: type: number debugInfo: type: object properties: name: type: string message: type: string stack: type: string required: - name - message required: - statusCode - message - code ProcurementConnectionMappingUpdateRequestPublicV2Dto: type: object properties: vendorMapping: type: - object - 'null' additionalProperties: true example: name: properties.counterpartyName.value externalId: id description: JSONata mapping from provider record fields to vendor properties. Keys are vendor field names, values are JSONata expressions. vendorTypes: example: - vendor - supplier description: Vendor types to filter from the procurement provider type: - array - 'null' items: type: string dryRun: type: boolean example: false description: Enable dry run mode (no actual vendor creation/updates). Defaults to true if not set. ExceptionResponsePublicV2Dto: type: object properties: name: type: string statusCode: type: number message: type: string code: type: number debugInfo: type: object properties: name: type: string message: type: string stack: type: string required: - name - message required: - name - statusCode - message - code ProcurementConnectionMappingResponsePublicV2Dto: type: object properties: connectionId: type: number example: 42 description: Connection ID clientType: enum: - GOOGLE - OKTA - MICROSOFT_365 - AWS - GCP - AZURE - HEROKU - GITHUB - GITLAB - BITBUCKET - SHORTCUT - JIRA - ASANA - GUSTO - KARMACHECK - GITHUB_ISSUES - RIPPLING - CERTN - MERGEDEV_ADP_WORKFORCE_NOW - MERGEDEV_BAMBOO_HR - MERGEDEV_HR_PARTNER - MERGEDEV_HI_BOB - MERGEDEV_HUMAANS - MERGEDEV_PERSONIO - MERGEDEV_SAGE - DIGITAL_OCEAN - MERGEDEV_KALLIDUS - MERGEDEV_TRINET - MERGEDEV_TRINET_HR - MERGEDEV_FRESHTEAM - MERGEDEV_SAP_SUCCESSFACTORS - TRELLO - GITLAB_ISSUES - MERGEDEV_JUSTWORKS - LINEAR - PIVOTAL_TRACKER - WORK_OS - MERGEDEV_PAYLOCITY - MONGO_DB_ATLAS - TARGET_PROCESS - CLICKUP - CHECKR - MERGEDEV_WORKDAY - ZOHO - CLOUDFLARE - JAMF - AZURE_BOARDS - AZURE_REPOS - MERGEDEV_HR_CLOUD - INTUNE - OKTA_IDENTITY - GOODHIRE - KANDJI - AWS_CODECOMMIT - FIBERY - CURRICULA - JUMPCLOUD - HEXNODE_UEM - RIPPLING_MDM - AWS_ORG_UNITS - KNOWBE4 - MERGEDEV_UKG_PRO - MERGEDEV_UKG_READY - DATADOG - SLACK - DOCUSIGN - MICROSOFT_TEAMS - AWS_INSPECTOR - MERGEDEV_ONELOGIN - MERGEDEV_JUMPCLOUD - CONFLUENCE - WORKSPACE_ONE - NEW_RELIC - MERGEDEV_SERVICENOW - RAPID7 - MERGEDEV_AHA - MERGEDEV_BASECAMP - MERGEDEV_BITBUCKET - MERGEDEV_FRESHDESK - MERGEDEV_FRESHSERVICE - MERGEDEV_HEIGHT - MERGEDEV_HIVE - MERGEDEV_TEAMWORK - MERGEDEV_WRIKE - MERGEDEV_ZENDESK - CSV_IDP - APIDECK - AWS_GOV_CLOUD - SENTINEL_ONE - MERGEDEV_NAMELY - MERGEDEV_INSPERITY_PREMIER - MERGEDEV_DAYFORCE - MERGEDEV_ALEXISHR - MERGEDEV_BREATHE - MERGEDEV_CHARLIE - MERGEDEV_CHARTHOP - MERGEDEV_DEEL - MERGEDEV_FACTORIAL - MERGEDEV_INTELLIHR - MERGEDEV_KEKA - MERGEDEV_LUCCA - MERGEDEV_OFFICIENT - MERGEDEV_PAYCHEX - MERGEDEV_PEOPLE_HR - MERGEDEV_OYSTERHR - MERGEDEV_PAYCOR - HUBSPOT - ZOOM - AUTH0 - SENTRY - ZAPIER - SNOWFLAKE - MIRO - MERGEDEV_EMPLOYMENT_HERO - SEGMENT - WIZ - XERO - GITHUB_CODE - ATLASSIAN - PAGER_DUTY - STACKONE_SMARTRECRUITERS - STACKONE_TEAMTAILOR - CROWDSTRIKE - GITHUB_ENTERPRISE - NOTION - STACKONE_KLAVIYO - STACKONE_LASTPASS - STACKONE_LEAPSOME - STACKONE_LEVER - STACKONE_ORACLEHCM - STACKONE_PINPOINT - STACKONE_PIPEDRIVE - STACKONE_RECRUITEE - STACKONE_WEBEX - STACKONE_WORKABLE - STACKONE_ZELT - STACKONE_BITWARDEN - STACKONE_SALESLOFT - STACKONE_DIXA - STACKONE_FRESHSALES - STACKONE_CANVA - STACKONE_GREENHOUSE - STACKONE_ASHBY - STACKONE_ATTIO - STACKONE_CONTENTFUL - COVERDASH - MERGEDEV_FRONT - SALESFORCE - STACKONE_ELASTIC - STACKONE_RENDER - STACKONE_TERRAFORM - STACKONE_DOMO - STACKONE_ENVOY - STACKONE_SCALEWAY - STACKONE_JETBRAINS - STACKONE_FIVETRAN - STACKONE_INTERCOM - STACKONE_AUTODESK - GITHUB_ACTIONS - AZURE_ORG_UNITS - MICROSOFT_365_GCC_HIGH - STACKONE_AIRCALL - STACKONE_15FIVE - STACKONE_ROLLBAR - STACKONE_EGNYTE - STACKONE_QLIK - STACKONE_BULLHORN - STACKONE_OPENVPN - STACKONE_SOPHOS - STACKONE_MEISTERTASK - STACKONE_TALENTLMS - STACKONE_ONEFLOW - STACKONE_RING_CENTRAL - STACKONE_ARTICULATE - STACKONE_DIALPAD - STACKONE_TABLEAU - AZURE_DEVOPS - STACKONE_1PASSWORD - STACKONE_MIXPANEL - STACKONE_SONARCLOUD - STACKONE_TWILIO - STACKONE_ANSIBLE - STACKONE_LATTICE - STACKONE_WEBFLOW - STACKONE_LACEWORK - STACKONE_DATABRICKS - STACKONE_IFS - STACKONE_TRAVISCI - STACKONE_MATILLIONETL - STACKONE_OPTIMIZELY - UAR_CSV - STERLING - HIRERIGHT - VETTY - MERGEDEV_CYBERARK - SALESFORCE_UAR - GOOGLE_ADMIN_CONSOLE - VERCEL - STACKONE_DUO - STACKONE_GONG - STACKONE_IRONCLAD - STACKONE_SCORO - STACKONE_TEAMVIEWER_REMOTE - STACKONE_SPOTDRAFT - STACKONE_SPENDESK - STACKONE_SENDGRID - STACKONE_SMARTSHEET - STACKONE_CHECKMK - LEEN_TENABLE - LEEN_QUALYS - LEEN_SEMGREP - LEEN_SNYK - LEEN_CROWDSTRIKE_VMS - LEEN_MS_DEFENDER_VMS - LEEN_SENTINELONE_VMS - GITLAB_ON_PREM - CUSTOM - LEEN_RAPID7_VMS - BAMBOO_HR - GITLAB_ISSUES_ON_PREM - GITHUB_ISSUES_ENTERPRISE - BITBUCKET_CODE - LEEN_ARNICA - STACKONE_NETLIFY - STACKONE_OPENAI - KOLIDE - MERGEDEV_JIRA_DATA_CENTER - MERGEDEV_PINGONE - GOOGLE_ADMIN_CONSOLE_OAUTH - GOOGLE_OAUTH - STACKONE_ANTHROPIC - INTUNE_GCC_HIGH - STACKONE_DROPBOX - STACKONE_DROPBOX_SIGN - STACKONE_HARVEST - STACKONE_KAMELEOON - STACKONE_MAKE - STACKONE_RETOOL - STACKONE_TOGGL - STACKONE_BOX - MERGEDEV_ZOHO_PEOPLE - MERGEDEV_ZOHO_DESK - LEEN_WIZ_VMS - LEEN_WIZ_CODE - LEEN_AIKIDO - MERGEDEV_LATTICE_HRIS - MERGEDEV_DARWINBOX - MERGEDEV_PAYCOM - AZURE_GCC_HIGH - AZURE_MG_GCC_HIGH - STACKONE_EASY_LLAMA - MERGEDEV_LEAPSOME - CUSTOM_XFA - LEEN_MS_DEFENDER_VMS_GCC_HIGH - STACKONE_CORNERSTONE - STACKONE_DOCEBO - STACKONE_GO1 - STACKONE_LINKEDIN_LEARNING - STACKONE_SAP_LEARNING - STACKONE_WORKDAY_LEARNING - STACKONE_360LEARNING - STACKONE_BRAINIER - STACKONE_COURSERA - STACKONE_XYLEME - STACKONE_INFOSEC - STACKONE_PEOPLE_FLUENT - STACKONE_UDEMY - AIKIDO - AZURE_ENTRA_ID - GOOGLE_CLOUD_IDENTITY - HYPERCOMPLY - INTRUDER - IRIS_AI - JIT - TINES - TORQ - TRAY - SWIF - LEEN_ORCA_SECURITY - ZIP - CUSTOM_MDM - LEEN_UPWIND - WORK_OS_SCIM - LEEN_GITLAB_VMS - NINJAONE_MDM - FIELDGUIDE - OKTA_OAUTH - IRONCLAD_VENDOR - CUSTOM_HRIS - RAMP - TROPIC_VENDOR - AZURE_BOARDS_ENTRA - AZURE_REPOS_ENTRA - AZURE_DEVOPS_ENTRA - CERTN_CENTRIC - DATAGRAIL - LEEN_SOCKET type: string example: IRONCLAD_VENDOR description: The client type of the procurement connection vendorMapping: type: - object - 'null' additionalProperties: true example: name: properties.counterpartyName.value externalId: id description: JSONata mapping from provider record fields to vendor properties. May include AI-suggested fields if aiMappingSuggested is true. vendorTypes: example: - vendor - supplier description: Vendor types to filter from the procurement provider type: - array - 'null' items: type: string dryRun: type: boolean example: true description: Whether dry run mode is enabled (no actual vendor creation/updates) aiMappingSuggested: type: boolean example: false description: Whether AI mapping suggestions have been applied to the vendor mapping. This field is read-only and cannot be modified via the API. credentialType: type: - string - 'null' example: oauth-application description: Credential type used for procurement integrations (oauth-application or api-key) enum: - oauth-application - api-key required: - connectionId - clientType - vendorMapping - vendorTypes - dryRun - aiMappingSuggested - credentialType securitySchemes: bearer: scheme: bearer bearerFormat: API_KEY type: http x-refined-from: - drata-api-v2-openapi.json - drata-api-v2-openapi.yml