Create external event mapping
Bind an inbound provider event to a stage sub-step. source and stepKey slug-normalize; eventType is the provider’s literal event name (“*” is a catch-all). The matcher resolves the payload at matchPath to the record’s externalId (deal/customer) or externalRef (issue).
POST
/workspaces/{organizationId}/external-event-mappingsPath parameters
organizationIdstringrequiredRequest body
application/jsonsourcestringrequiredmin length 1
eventTypestringrequiredmin length 1
entityTypestringrequiredAllowed:
issuedealcustomermatchPathstringrequiredDotted path into the event payload resolving to the record's external id — e.g. "data.merchant_id".
min length 1
stepKeystringrequiredmin length 1
secretstringrequiredHMAC-SHA256 signing secret for this source's deliveries.
min length 1
enabledbooleanResponses
201
External event mapping created
mappingExternalEventMappingrequiredShow propertiesHide properties
idstringrequiredorganizationIdstringrequiredsourcestringrequiredeventTypestringrequiredentityTypestringrequiredAllowed:
issuedealcustomermatchPathstringrequiredstepKeystringrequiredenabledbooleanrequiredcreatedBystring | nullrequiredcreatedAtstringrequiredupdatedAtstringrequired