{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-docs/dx1-dealership-api/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Webhooks"},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"webhooks","__idx":0},"children":["Webhooks"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Use webhooks to receive a lightweight notification that a supported DX1 record may have changed, then retrieve the current record through the DX1 Dealership API. A notification is not a complete event, changed-field list, or audit record."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"request-webhook-access","__idx":1},"children":["Request webhook access"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Provide the DX1 integration contact with:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["the approved vendor or integration name;"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["technical and operational contacts;"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["each authorizing dealership;"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["the required notification types and approved data access; and"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["an absolute callback URL."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["DX1 accepts a well-formed absolute callback URL and sends ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST"]}," with a JSON body. Use a publicly reachable HTTPS endpoint with a publicly trusted TLS certificate; DX1 does not enforce HTTPS when the callback is configured. Return a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["2xx"]}," response promptly after safely accepting the notification, but do not rely on the response code to trigger a retry."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"receive-the-notification","__idx":2},"children":["Receive the notification"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["DX1 sends one JSON object per affected record:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"http","header":{"controls":{"copy":{}}},"source":"POST /webhooks/dx1/<private-path> HTTP/1.1\nContent-Type: application/json\n\n{\n  \"type\": \"MU Inventory\",\n  \"id\": \"74287392-f4b7-4c21-b7d1-e8d65a72965e\",\n  \"apiItemId\": \"9ee152e8-3eb4-45a7-b84e-6f99993fd541\",\n  \"updateDate\": \"2026-07-22T18:31:08.317Z\"\n}\n","lang":"http"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The UUIDs and timestamp above are synthetic."]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Field"},"children":["Field"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Meaning"},"children":["Meaning"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["type"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Exact, case-sensitive notification type used to select the matching v1 detail operation."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["id"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["UUID of the affected record. Supply it to the matching detail path."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["apiItemId"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Identifier for the dealership API configuration linked to the API key that received the notification. An integration that services multiple dealerships can use it as an additional cross-reference. DX1 does not normally provide this value during setup, but can provide it on request. It is not an API key."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["updateDate"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ISO 8601 time when DX1 constructed the notification. It is not a strict sequence number or guaranteed business-effective time."]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The payload does not include the full changed record, a create/update/delete action, an event sequence number, a dealership ID, an authorization header, a shared secret, or a signature."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"retrieve-the-current-record","__idx":3},"children":["Retrieve the current record"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Use the notification ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["id"]}," with the corresponding path relative to the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["api_url"]}," returned by ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/docs/dx1-dealership-api/getting-started/authentication"},"children":["authentication"]},":"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"type"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["type"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Current record"},"children":["Current record"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"v1 detail request"},"children":["v1 detail request"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["MU Inventory"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Major-unit inventory"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["GET /v1/Inventory/GetDealerInventory/{id}"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Part Inventory"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Parts inventory"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["GET /v1/Part/GetDealerInventory/{id}"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Customer"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Customer"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["GET /v1/Customer/GetCustomer/{id}"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["MU Deal"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Major-unit deal"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["GET /v1/MajorUnitDeal/GetSaleDealDetail/{id}"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Part Deal"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Parts deal"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["GET /v1/PartDeal/GetPartDealDetail/{id}"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["RO Deal"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Repair-order deal"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["GET /v1/RoDeal/GetDealDetail/{id}"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Lead"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Lead"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["GET /v1/Lead/GetLead/{id}"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The approved vendor and dealership access must include the corresponding data. Treat the authenticated detail response as the current source of truth."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"acknowledge-queue-and-reconcile","__idx":4},"children":["Acknowledge, queue, and reconcile"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Require JSON and validate ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["type"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["id"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["apiItemId"]},", and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["updateDate"]}," as untrusted input."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Durably enqueue the notification."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Return ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["200 OK"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["202 Accepted"]},", or another ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["2xx"]}," response without waiting for the detail request."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Retrieve and process the current record outside the inbound HTTP request."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Make downstream processing idempotent and do not assume delivery order or uniqueness."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Use ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["apiItemId + type + id"]}," as a routing key, not as a unique event identifier. Delivery is asynchronous. A failed delivery is not automatically retried, and DX1 does not guarantee delivery latency, ordering, or deduplication. Schedule summary-API reconciliation to detect and repair missed state."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"secure-the-receiver","__idx":5},"children":["Secure the receiver"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The notification is not signed, so a syntactically valid body does not prove that DX1 sent it."]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Use a dedicated, difficult-to-guess HTTPS path."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Apply request-size and rate limits."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Do not perform a sensitive action from the webhook body alone."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Retrieve the record through the authenticated DX1 API before acting on it."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Store keys and tokens in a secret manager and never log them."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Log only the minimum routing fields and processing result required for operations."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["When reporting a delivery issue, use a private approved channel and include the vendor, dealership context, ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["apiItemId"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["type"]},", record ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["id"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["updateDate"]},", receipt time, response status, and a safe correlation value. Never include an API key, bearer token, or record payload."]}]},"headings":[{"value":"Webhooks","id":"webhooks","depth":1},{"value":"Request webhook access","id":"request-webhook-access","depth":2},{"value":"Receive the notification","id":"receive-the-notification","depth":2},{"value":"Retrieve the current record","id":"retrieve-the-current-record","depth":2},{"value":"Acknowledge, queue, and reconcile","id":"acknowledge-queue-and-reconcile","depth":2},{"value":"Secure the receiver","id":"secure-the-receiver","depth":2}],"frontmatter":{"seo":{"title":"Webhooks"}},"lastModified":"2026-11-19T19:55:50.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/docs/dx1-dealership-api/integrations/webhooks","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}