Read where each LeadScout session came from: the provenance fields of the LeadscoutSessions entity set and the deprecated Source field.
The OData feed serves your workspace’s conversation data to reporting tools such as Power BI. This page covers the fields of the LeadscoutSessions entity set that tell you where a session came from. Request $metadata for the complete list of fields and their types.
Connect
https://api-connect-us.bridge.new/odata/v1
The feed uses HTTP Basic authentication: the username is your workspace id and the password is the same API key you send in x-api-key to the REST API. A request with only the x-api-key header is rejected.
Provenance fields
Provenance describes where a session came from. Every field is optional and is empty when Bridge recorded no provenance for the session.
Field
Type
Content
ProvenanceSource
Edm.String
Where the contact came from: fb for Facebook, ig for Instagram, an for Meta Audience Network, whatsapp for WhatsApp. For a landing page it is the utm_source your page sent.
ProvenanceMedium
Edm.String
The kind of channel: ad for a Meta ad, post for a Meta post, organic for an organic lead or WhatsApp message, bridge for a Bridge campaign. For a landing page it is the utm_medium your page sent, in lowercase.
ProvenanceCampaignId
Edm.String
The campaign id: the ad platform’s campaign, the campaignId sent to an outbound request, or the Bridge campaign.
ProvenanceContentId
Edm.String
The ad or content id within the campaign.
ProvenanceCapturedAt
Edm.DateTimeOffset
When the provenance was captured.
Changed fields
Source is deprecated. It is still present and keeps the value it had before; prefer the provenance fields above.
Field
Behavior
Source
Deprecated. Carries the campaign id for Meta lead forms, outbound API requests and Bridge bulk campaigns, the landing URL for Click-to-WhatsApp ads and landing pages, and nothing for organic WhatsApp conversations.
CampaignCaptureCapturedAt
Deprecated; use ProvenanceCapturedAt. Keeps the value it had for existing sessions and, for new ones, carries the provenance capture time only for landing page sessions whose CampaignCaptureStatus is MATCHED; otherwise empty.
Name a campaign from the outbound API
An outbound request that sends campaignId can also send an optional campaignName. The name is accepted only together with campaignId, surrounding spaces are trimmed, a blank name is treated as absent, and it is limited to 200 characters. When the same campaign arrives with different names, reports show the most recent one. See the Agents outbound guide.
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Bridge REST Integrations API \u0026 Webhooks","description":"Official Bridge developer documentation for the REST API, webhooks and Custom Connections: contacts, conversations and messaging. Available in English, Spanish and Brazilian Portuguese.","colors":{"primary":"#3E6EE5","light":"#93B5FF","dark":"#2F58C4"},"logo":{"light":"https://mintcdn.com/sainapsisinc/MRBSc5DvZcNEOxd1/logo/bridge_full_logo_light.png?fit=max\u0026auto=format\u0026n=MRBSc5DvZcNEOxd1\u0026q=85\u0026s=9a9d74ac33a89d538635507ba8d12eb9","dark":"https://mintcdn.com/sainapsisinc/MRBSc5DvZcNEOxd1/logo/bridge_full_logo_dark.png?fit=max\u0026auto=format\u0026n=MRBSc5DvZcNEOxd1\u0026q=85\u0026s=0c0905478472ab3f3b07066824f7f4ca"},"favicon":"https://mintcdn.com/sainapsisinc/OxyPsTqCEnnNpE4v/favicon.png?fit=max\u0026auto=format\u0026n=OxyPsTqCEnnNpE4v\u0026q=85\u0026s=8262683efaf26e188f464e1f0f02a189","appearance":{"default":"light","strict":false},"background":{"color":{"light":"#FFFFFF","dark":"#0B1220"}},"navbar":{"links":[{"href":"https://docs.bridge.new/connect-your-agent","label":"Connect AI"},{"href":"https://help.bridge.new","label":"Help Center"},{"href":"mailto:support@sainapsis.com","label":"Contact Support"}],"primary":{"type":"button","label":"Bridge app","href":"https://app.bridge.new"}},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/sainapsis-inc"}},"seo":{"organization":{"name":"Bridge","sameAs":["https://www.linkedin.com/company/sainapsis-inc"]},"indexing":"navigable"},"styling":{"eyebrows":"breadcrumbs","latex":false},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","download-spec"],"display":"header"},"markdown":{"instructions":["Bridge exposes three integration surfaces: the REST Integrations API for pushing data into Bridge, webhooks for receiving events from Bridge, and the public Custom Connections endpoint that a tenant's landing page posts to.","The Integrations API host is https://api-connect-us.bridge.new and every request to it must be authenticated with the x-api-key header. Bridge does not use bearer tokens or OAuth.","The Custom Connections endpoint is different and the Integrations API rules do not apply to it: it has its own host, it takes no x-api-key and no authentication header of any kind, and it is called from a visitor's browser. It is identified by a workspace id and a capture key together with a reCAPTCHA token. Never tell a reader to authenticate it with an API key, and never tell them to keep its capture key out of frontend code - it is designed to live in the page.","REST error catalog keys use BRIDGE_\u003cDOMAIN>_\u003cNNNN>, for example BRIDGE_CONVERSATION_0001. Some reviewed legacy handlers return a recognized code plus a symbolic suffix separated by |; preserve the complete received value and use the compatible catalog lookup on /error-codes. Custom Connections uses separate BRIDGE.CAMPAIGN_LEADS.\u003cNAME> identifiers on its own error reference. Never invent an error code or confuse the two integration surfaces.","This documentation covers the Integrations API, webhooks and Custom Connections only. It does not describe the Bridge web application or its internal APIs.","Before generating an API request, read the relevant OpenAPI specification or the individual endpoint Markdown page. llms-full.txt collects guides and endpoint descriptions; it does not embed every request and response schema. The REST and Custom Connections contracts are separate.","Preserve the published host, method, path, operationId, authentication, headers, parameter and field names, types, formats, required and nullable fields, enums, defaults, limits, and response codes. Do not invent identifiers, fields, retry rules, or delivery guarantees. When published sources conflict, identify the conflicting passages and ask Bridge support to confirm the current behavior before relying on it.","Custom Connections is the current name of the landing-page feature previously documented as Lead Capture. The existing /lead-capture documentation URLs, captureKey field, campaign-leads endpoint, and BRIDGE.CAMPAIGN_LEADS error identifiers are unchanged. This is a naming change, not a change to authentication or the API contract.","For a complete workflow, start with the task guides: /guides/first-conversation, /guides/send-attachments, /guides/send-template, /guides/agent-outbound, /guides/pagination, /guides/pipeline-records, /guides/identifiers and /guides/responses. Read the endpoint contract as well as the recipe. Outbound requires an existing Contact, but does not require creating a separate Conversation first.","Pipeline records are created only for an existing Contact (never upserted). POST /records, /move and /reopen require Idempotency-Key; PATCH, move and reopen take an optional expectedRevision in the body. Stage actions run every time a record enters a stage, including records created in bulk. Use /guides/pipeline-records and /webhooks/pipeline-records.","forceSend=true permits reuse of an existing active conversation; it does not create a fresh one by ignoring it and it is not idempotency. Recovery of a released recoverable conversation can occur even with false. The LeadScout and Agents outbound routes have different line-selection and controller checks; use /guides/agent-outbound.","For webhook HMAC, follow /webhooks/verifying-signatures exactly: the Python JSON serialization with sorted keys is signed; X-Bridge-Timestamp is not included in that signature. Do not claim a signed timestamp, raw-body signing, exactly-once delivery or a global event order. Use /webhooks/receive-events for durable acceptance and duplicates.","A 201 message response, 202 handoff or 202 Custom Connections response is not a provider delivery receipt. Do not invent a polling endpoint from messageId, trackingId or requestId. REST validation parsing must tolerate the compatibility difference explained in /error-codes.","The documentation is available in English (existing root URLs), Spanish (/es/) and Brazilian Portuguese (/pt-br/). Prefer the reader's language when a localized page exists, but preserve the API's exact field names, enums, routes, authentication and examples. Translations describe the same API; they do not introduce regional API hosts or behaviors.","For coding-assistant setup, use /connect-your-agent, /es/connect-your-agent or /pt-br/connect-your-agent. The Bridge documentation MCP server reads published documentation and has a separate optional feedback tool. Connecting it does not connect the coding assistant to a customer workspace or authorize live business requests.","For direct HTTP access without MCP, start at https://docs.bridge.new/llms.txt. It lists every published page in English, Spanish and Brazilian Portuguese. Choose /llms-en.json, /llms-es.json or /llms-pt-br.json for a language-specific index, and /llms-full-en.json, /llms-full-es.json or /llms-full-pt-br.json for collected content. /llms-full.txt contains the combined collection. Fetch the original OpenAPI specification for exact schemas.","For HTTP page reads, follow the .md URLs from the index or request Accept: text/markdown at the canonical page URL. The MCP virtual filesystem uses .mdx page paths instead; .mdx is not the public HTTP export extension. With Search MCP, set language to en, es or pt-BR explicitly; its default is en.","For integration capabilities and source-selection rules, read https://docs.bridge.new/skill.md. Documentation access does not authorize business API actions; use the actual user request, workspace, credentials and target identifiers for any live integration."]},"navigation":{"languages":[{"language":"en","default":true,"navbar":{"links":[{"href":"https://docs.bridge.new/connect-your-agent","label":"Connect AI"},{"href":"https://help.bridge.new","label":"Help Center"},{"href":"mailto:support@sainapsis.com","label":"Contact Support"}],"primary":{"type":"button","label":"Bridge app","href":"https://app.bridge.new"}},"href":""},{"language":"es","navbar":{"links":[{"href":"https://docs.bridge.new/es/connect-your-agent","label":"Conectar IA"},{"href":"https://help.bridge.new","label":"Centro de ayuda"},{"href":"mailto:support@sainapsis.com","label":"Contactar con soporte"}],"primary":{"type":"button","label":"Aplicación Bridge","href":"https://app.bridge.new"}},"href":"es"},{"language":"pt-BR","navbar":{"links":[{"href":"https://docs.bridge.new/pt-br/connect-your-agent","label":"Conectar IA"},{"href":"https://help.bridge.new","label":"Central de ajuda"},{"href":"mailto:support@sainapsis.com","label":"Falar com o suporte"}],"primary":{"type":"button","label":"Aplicativo Bridge","href":"https://app.bridge.new"}},"href":"pt-br"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"sainapsisinc","hasAudioNarration":false,"actualSubdomain":"sainapsisinc","customDomains":["docs.bridge.new"],"gitSource":{"type":"github","owner":"sainapsis","repo":"open-api-public-documentation-mintlify","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{},"buildId":"6b0ec693afc7a106f7300a0c","clientVersion":"0.0.4377","searchFilterCounts":[{"language":"en","tag":"REST API","count":33},{"language":"es","tag":"API REST","count":33},{"language":"pt-BR","tag":"API REST","count":33},{"language":"en","tag":"Getting started","count":15},{"language":"es","tag":"Primeros pasos","count":15},{"language":"pt-BR","tag":"Primeiros passos","count":15},{"language":"en","tag":"Start here","count":7},{"language":"es","tag":"Empieza aquí","count":7},{"language":"pt-BR","tag":"Comece aqui","count":7},{"language":"en","tag":"Build your integration","count":6},{"language":"en","tag":"Custom Connections","count":6},{"language":"en","tag":"Webhooks","count":6},{"language":"en","tag":"Contacts API","count":6},{"language":"en","tag":"Pipeline Records API","count":6},{"language":"es","tag":"Crea tu integración","count":6},{"language":"es","tag":"Custom Connections","count":6},{"language":"es","tag":"Webhooks","count":6},{"language":"es","tag":"Contacts API","count":6},{"language":"es","tag":"Pipeline Records API","count":6},{"language":"pt-BR","tag":"Crie sua integração","count":6},{"language":"pt-BR","tag":"Custom Connections","count":6},{"language":"pt-BR","tag":"Webhooks","count":6},{"language":"pt-BR","tag":"Contacts API","count":6},{"language":"pt-BR","tag":"Pipeline Records API","count":6},{"language":"en","tag":"Reference","count":5},{"language":"en","tag":"Conversations API","count":5},{"language":"es","tag":"Referencia","count":5},{"language":"es","tag":"Conversations API","count":5},{"language":"pt-BR","tag":"Referência","count":5},{"language":"pt-BR","tag":"Conversations API","count":5}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":".nav-logo{height:2rem;width:auto;max-width:9rem;object-fit:contain}:root{--bridge-blue: #3e6ee5;--bridge-navy: #0e2841;--bridge-ink: #1a1a2e;--bridge-muted: #6d6c69;--bridge-border: #e1e8f2;--bridge-soft: #f0f5fe;--bridge-teal: #3a8a9c}body{font-family:\"Helvetica Neue\", Roboto, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;-webkit-font-smoothing:antialiased}#page-title{font-weight:500;letter-spacing:-0.035em;line-height:1.15}#content-area h2,#content-area h3{font-weight:500;letter-spacing:-0.02em}html:not(.dark) #page-title,html:not(.dark) #content-area h2,html:not(.dark) #content-area h3{color:var(--bridge-navy)}html:not(.dark) #navbar{background-color:rgba(255, 255, 255, 0.96)}#search-bar-entry,#search-bar-entry-mobile{border-radius:12px}html:not(.dark) #search-bar-entry{background:#fff;border-color:var(--bridge-border);box-shadow:0 1px 3px rgba(14, 40, 65, 0.04)}#topbar-cta-button{border-radius:8px}.card{border-radius:12px;transition:border-color 150ms ease, box-shadow 150ms ease, background-color 150ms ease}html:not(.dark) .card{border-color:var(--bridge-border);background-color:#fff;box-shadow:0 1px 2px rgba(14, 40, 65, 0.035)}html:not(.dark) .card:hover{border-color:#b8ccf5;background-color:#f8faff;box-shadow:0 5px 16px rgba(14, 40, 65, 0.06)}.callout,.code-block{border-radius:12px}#content p,#content li{line-height:1.65}.bridge-surfaces .card{margin-top:0}.card:focus-visible,#navbar a:focus-visible,#sidebar a:focus-visible,#search-bar-entry:focus-visible{outline:2px solid #3865d8;outline-offset:3px}#navbar a:has(.nav-logo){display:inline-flex;align-items:center;min-height:44px}@media (max-width: 640px){.nav-logo{height:1.75rem;max-width:8rem}}@media (prefers-reduced-motion: reduce){.card{transition:none}}.bridge-version-badge{display:inline-block;padding:2px 9px;border-radius:999px;background:rgba(62, 110, 229, 0.10);color:#3e6ee5;font-size:12px;line-height:20px;font-weight:600}.dark .bridge-version-badge{color:#93b5ff}.bridge-comparison{overflow-x:auto;margin:1.25rem 0;border-radius:6px}.bridge-comparison table{display:table;min-width:720px;width:100%;overflow:visible;margin:0}.bridge-comparison:focus-visible{outline:2px solid #3e6ee5;outline-offset:3px}.bridge-ai-start{margin:1.75rem 0 2rem;padding:20px 24px;border:1px solid #cbd9f5;border-radius:14px;background:linear-gradient(135deg, #f0f5fe 0%, #fafcff 100%)}.bridge-ai-start .bridge-ai-eyebrow{margin:0 0 8px;color:#2f58c4;font-size:12px;font-weight:600;line-height:1.4}.bridge-ai-start h2{margin-top:0;margin-bottom:10px;font-size:1.5rem}.bridge-ai-start>p:last-child{margin-bottom:0;font-size:13px}.bridge-ai-providers{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.bridge-ai-providers a{display:inline-flex;align-items:center;justify-content:space-between;gap:10px;min-height:44px;padding:9px 12px;border:1px solid #c7d5f0;border-radius:8px;background:#fff;color:#234cae;font-size:14px;font-weight:600;text-decoration:none}.bridge-ai-providers a:hover{border-color:#3e6ee5;background:#f7faff}.bridge-ai-providers a:focus-visible{outline:2px solid #3e6ee5;outline-offset:3px}.dark .bridge-ai-start{background:linear-gradient(135deg, #112441, #0f1b2e);border-color:#29446b}.dark .bridge-ai-start .bridge-ai-eyebrow{color:#b3caff}.dark .bridge-ai-providers a{background:#152640;color:#c1d4ff;border-color:#38537c}.dark .bridge-ai-providers a:hover{background:#1c3356;border-color:#93b5ff}@media (max-width: 640px){.bridge-ai-start{padding:18px}.bridge-ai-providers{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr))}.bridge-ai-providers a{font-size:13px}}#content-area a[id]:not([href]){scroll-margin-top:var(--scroll-mt, 9.5rem)}"}]}
{"page":{"pagePath":"guides/odata-feed","slug":"/guides/odata-feed","pageMetadata":{"title":"LeadScout sessions in the OData feed","sidebarTitle":"OData feed","description":"Read where each LeadScout session came from: the provenance fields of the LeadscoutSessions entity set and the deprecated Source field.","keywords":["odata","power bi","leadscout","provenance","source","campaign"],"href":"/guides/odata-feed"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Read where each LeadScout session came from: the provenance fields of the LeadscoutSessions entity set and the deprecated Source field.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`The OData feed serves your workspace’s conversation data to reporting tools such as Power BI. This page covers the fields of the `,_jsx(_components.code,{children:`LeadscoutSessions`}),` entity set that tell you where a session came from. Request `,_jsx(_components.code,{children:`$metadata`}),` for the complete list of fields and their types.`]}),`\n`,_jsx(Heading,{level:`2`,id:`connect`,children:`Connect`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`https://api-connect-us.bridge.new/odata/v1`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[`The feed uses HTTP Basic authentication: the username is your workspace id and the password is the same API key you send in `,_jsx(_components.code,{children:`x-api-key`}),` to the REST API. A request with only the `,_jsx(_components.code,{children:`x-api-key`}),` header is rejected.`]}),`\n`,_jsx(Heading,{level:`2`,id:`provenance-fields`,children:`Provenance fields`}),`\n`,_jsx(_components.p,{children:`Provenance describes where a session came from. Every field is optional and is empty when Bridge recorded no provenance for the session.`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Content`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`ProvenanceSource`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Edm.String`})}),_jsxs(_components.td,{children:[`Where the contact came from: `,_jsx(_components.code,{children:`fb`}),` for Facebook, `,_jsx(_components.code,{children:`ig`}),` for Instagram, `,_jsx(_components.code,{children:`an`}),` for Meta Audience Network, `,_jsx(_components.code,{children:`whatsapp`}),` for WhatsApp. For a landing page it is the `,_jsx(_components.code,{children:`utm_source`}),` your page sent.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`ProvenanceMedium`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Edm.String`})}),_jsxs(_components.td,{children:[`The kind of channel: `,_jsx(_components.code,{children:`ad`}),` for a Meta ad, `,_jsx(_components.code,{children:`post`}),` for a Meta post, `,_jsx(_components.code,{children:`organic`}),` for an organic lead or WhatsApp message, `,_jsx(_components.code,{children:`bridge`}),` for a Bridge campaign. For a landing page it is the `,_jsx(_components.code,{children:`utm_medium`}),` your page sent, in lowercase.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`ProvenanceCampaignId`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Edm.String`})}),_jsxs(_components.td,{children:[`The campaign id: the ad platform’s campaign, the `,_jsx(_components.code,{children:`campaignId`}),` sent to an outbound request, or the Bridge campaign.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`ProvenanceContentId`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Edm.String`})}),_jsx(_components.td,{children:`The ad or content id within the campaign.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`ProvenanceCapturedAt`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Edm.DateTimeOffset`})}),_jsx(_components.td,{children:`When the provenance was captured.`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`changed-fields`,children:`Changed fields`}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`Source`}),` is deprecated. It is still present and keeps the value it had before; prefer the provenance fields above.`]})}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Behavior`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`Source`})}),_jsx(_components.td,{children:`Deprecated. Carries the campaign id for Meta lead forms, outbound API requests and Bridge bulk campaigns, the landing URL for Click-to-WhatsApp ads and landing pages, and nothing for organic WhatsApp conversations.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`CampaignCaptureCapturedAt`})}),_jsxs(_components.td,{children:[`Deprecated; use `,_jsx(_components.code,{children:`ProvenanceCapturedAt`}),`. Keeps the value it had for existing sessions and, for new ones, carries the provenance capture time only for landing page sessions whose `,_jsx(_components.code,{children:`CampaignCaptureStatus`}),` is `,_jsx(_components.code,{children:`MATCHED`}),`; otherwise empty.`]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`name-a-campaign-from-the-outbound-api`,children:`Name a campaign from the outbound API`}),`\n`,_jsxs(_components.p,{children:[`An outbound request that sends `,_jsx(_components.code,{children:`campaignId`}),` can also send an optional `,_jsx(_components.code,{children:`campaignName`}),`. The name is accepted only together with `,_jsx(_components.code,{children:`campaignId`}),`, surrounding spaces are trimmed, a blank name is treated as absent, and it is limited to 200 characters. When the same campaign arrives with different names, reports show the most recent one. See the `,_jsx(_components.a,{href:`/guides/agent-outbound`,children:`Agents outbound guide`}),`.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"LeadScout sessions in the OData feed","sidebarTitle":"OData feed","description":"Read where each LeadScout session came from: the provenance fields of the LeadscoutSessions entity set and the deprecated Source field.","keywords":["odata","power bi","leadscout","provenance","source","campaign"],"href":"/guides/odata-feed"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Connect","slug":"connect","depth":2,"children":[]},{"title":"Provenance fields","slug":"provenance-fields","depth":2,"children":[]},{"title":"Changed fields","slug":"changed-fields","depth":2,"children":[]},{"title":"Name a campaign from the outbound API","slug":"name-a-campaign-from-the-outbound-api","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"sainapsisinc","siteName":"Bridge REST Integrations API \u0026 Webhooks","title":"LeadScout sessions in the OData feed - Bridge REST Integrations API \u0026 Webhooks","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/guides/odata-feed","matchLevel":0},"es":{"href":"/es/guides/odata-feed","matchLevel":1},"pt-BR":{"href":"/pt-br/guides/odata-feed","matchLevel":1}}},"lastModified":"2026-12-01T13:07:44.408Z","originalFileLocation":"guides/odata-feed.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"light\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Read where each LeadScout session came from: the provenance fields of the LeadscoutSessions entity set and the deprecated Source field.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Bridge REST Integrations API \u0026amp; Webhooks\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/sainapsisinc/LWksyfunHyleJ2tH/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/sainapsisinc/LWksyfunHyleJ2tH/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/sainapsisinc/LWksyfunHyleJ2tH/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/sainapsisinc/LWksyfunHyleJ2tH/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/sainapsisinc/LWksyfunHyleJ2tH/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/sainapsisinc/LWksyfunHyleJ2tH/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/sainapsisinc/LWksyfunHyleJ2tH/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/sainapsisinc/LWksyfunHyleJ2tH/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/sainapsisinc/LWksyfunHyleJ2tH/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"LeadScout sessions in the OData feed - Bridge REST Integrations API \u0026amp; Webhooks\">\u003cmeta data-mint-head property=\"og:description\" content=\"Read where each LeadScout session came from: the provenance fields of the LeadscoutSessions entity set and the deprecated Source field.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Bridge REST Integrations API \u0026amp; Webhooks\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.bridge.new/guides/odata-feed\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://sainapsisinc.mintlify.site/_mintlify/api/og/v2?division=Reference\u0026amp;title=LeadScout+sessions+in+the+OData+feed\u0026amp;description=Read+where+each+LeadScout+session+came+from%3A+the+provenance+fields+of+the+LeadscoutSessions+entity+set+and+the+deprecated+Source+field.\u0026amp;theme=54622e39a2ddcb12e13b2897\u0026amp;signature=4188e45c07c69f4a09394a09fb731c0fd9ce68c6c8e4cded228a39523f84bc15\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"LeadScout sessions in the OData feed - Bridge REST Integrations API \u0026amp; Webhooks\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Read where each LeadScout session came from: the provenance fields of the LeadscoutSessions entity set and the deprecated Source field.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://sainapsisinc.mintlify.site/_mintlify/api/og/v2?division=Reference\u0026amp;title=LeadScout+sessions+in+the+OData+feed\u0026amp;description=Read+where+each+LeadScout+session+came+from%3A+the+provenance+fields+of+the+LeadscoutSessions+entity+set+and+the+deprecated+Source+field.\u0026amp;theme=54622e39a2ddcb12e13b2897\u0026amp;signature=4188e45c07c69f4a09394a09fb731c0fd9ce68c6c8e4cded228a39523f84bc15\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/sainapsisinc/LWksyfunHyleJ2tH/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Bridge REST Integrations API \u0026amp; Webhooks\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#3E6EE5\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.bridge.new/guides/odata-feed\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/guides/odata-feed.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.bridge.new/guides/odata-feed\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"es\" href=\"https://docs.bridge.new/es/guides/odata-feed\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"pt-BR\" href=\"https://docs.bridge.new/pt-br/guides/odata-feed\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.bridge.new/guides/odata-feed\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.bridge.new/#organization\",\"name\":\"Bridge\",\"url\":\"https://docs.bridge.new\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/sainapsisinc/MRBSc5DvZcNEOxd1/logo/bridge_full_logo_light.png?fit=max\u0026auto=format\u0026n=MRBSc5DvZcNEOxd1\u0026q=85\u0026s=9a9d74ac33a89d538635507ba8d12eb9\"},\"sameAs\":[\"https://www.linkedin.com/company/sainapsis-inc\"]},{\"@type\":\"WebSite\",\"@id\":\"https://docs.bridge.new#website\",\"name\":\"Bridge REST Integrations API \u0026 Webhooks\",\"url\":\"https://docs.bridge.new\",\"publisher\":{\"@id\":\"https://docs.bridge.new/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.bridge.new/guides/odata-feed#webpage\",\"url\":\"https://docs.bridge.new/guides/odata-feed\",\"name\":\"LeadScout sessions in the OData feed\",\"description\":\"Read where each LeadScout session came from: the provenance fields of the LeadscoutSessions entity set and the deprecated Source field.\",\"dateModified\":\"2026-12-01T13:07:44.408Z\",\"isPartOf\":{\"@id\":\"https://docs.bridge.new#website\"},\"breadcrumb\":{\"@id\":\"https://docs.bridge.new/guides/odata-feed#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.bridge.new/guides/odata-feed#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Reference\",\"item\":\"https://docs.bridge.new/guides/responses\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"LeadScout sessions in the OData feed\",\"item\":\"https://docs.bridge.new/guides/odata-feed\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.bridge.new/guides/odata-feed#article\",\"headline\":\"LeadScout sessions in the OData feed\",\"name\":\"LeadScout sessions in the OData feed\",\"description\":\"Read where each LeadScout session came from: the provenance fields of the LeadscoutSessions entity set and the deprecated Source field.\",\"url\":\"https://docs.bridge.new/guides/odata-feed\",\"mainEntityOfPage\":{\"@id\":\"https://docs.bridge.new/guides/odata-feed#webpage\"},\"dateModified\":\"2026-12-01T13:07:44.408Z\",\"keywords\":\"odata, power bi, leadscout, provenance, source, campaign\",\"publisher\":{\"@id\":\"https://docs.bridge.new/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.bridge.new#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Bridge REST Integrations API \u0026 Webhooks\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Bridge\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/guides/odata-feed.md","siteName":"Bridge REST Integrations API \u0026 Webhooks","nav":{"global":null,"languages":[{"language":"en","default":true,"navbar":{"links":[{"href":"https://docs.bridge.new/connect-your-agent","label":"Connect AI"},{"href":"https://help.bridge.new","label":"Help Center"},{"href":"mailto:support@sainapsis.com","label":"Contact Support"}],"primary":{"type":"button","label":"Bridge app","href":"https://app.bridge.new"}},"tabs":[{"tab":"Getting started","groups":[{"group":"Start here","pages":[{"title":"Integrate with Bridge","sidebarTitle":"Overview","href":""},{"title":"Connect your AI coding assistant","sidebarTitle":"Connect your coding assistant","href":"/connect-your-agent"},{"title":"REST API authentication","sidebarTitle":"Authentication","href":"/credentials"},{"title":"Glossary and identifiers","sidebarTitle":"Concepts and IDs","href":"/guides/identifiers"}]},{"group":"Build your integration","pages":[{"title":"Create a contact and send a message","sidebarTitle":"First conversation","href":"/guides/first-conversation"},{"title":"Send PDFs and other attachments","sidebarTitle":"PDFs and attachments","href":"/guides/send-attachments"},{"title":"Choose and fill a WhatsApp template","sidebarTitle":"Template recipe","href":"/guides/send-template"},{"title":"Start an Agent outbound conversation","sidebarTitle":"Agent outbound \u0026 handoff","href":"/guides/agent-outbound"},{"title":"Read every page of results","sidebarTitle":"Pagination","href":"/guides/pagination"},{"title":"Create and move pipeline records","sidebarTitle":"Pipeline records","href":"/guides/pipeline-records"}]},{"group":"Reference","pages":[{"title":"Responses, errors, and retries","sidebarTitle":"Responses and retries","href":"/guides/responses"},{"title":"WhatsApp template parameters","sidebarTitle":"WhatsApp templates","href":"/templates-and-parameters"},{"title":"Rate limits","sidebarTitle":"Rate limits","href":"/rate-limits"},{"title":"Error codes","sidebarTitle":"Error codes","description":"Interpret REST API error codes, validation responses and uncertain write outcomes, and choose the next action.","href":"/error-codes"},{"title":"LeadScout sessions in the OData feed","sidebarTitle":"OData feed","href":"/guides/odata-feed"},{"title":"Changelog","sidebarTitle":"Changelog","description":"Changes to the Bridge API that affect your integration, newest first.","href":"/changelog"}]}]},{"tab":"REST API","pages":[{"title":"REST API","href":"/api-reference/health/health-check"}]},{"tab":"Webhooks","pages":[{"title":"Webhooks","href":"/webhooks"}]},{"tab":"Custom Connections","pages":[{"title":"Custom Connections","href":"/lead-capture"}]}]},{"language":"es","navbar":{"links":[{"href":"https://docs.bridge.new/es/connect-your-agent","label":"Conectar IA"},{"href":"https://help.bridge.new","label":"Centro de ayuda"},{"href":"mailto:support@sainapsis.com","label":"Contactar con soporte"}],"primary":{"type":"button","label":"Aplicación Bridge","href":"https://app.bridge.new"}},"pages":[{"title":"es","href":"/es/guides/odata-feed"}]},{"language":"pt-BR","navbar":{"links":[{"href":"https://docs.bridge.new/pt-br/connect-your-agent","label":"Conectar IA"},{"href":"https://help.bridge.new","label":"Central de ajuda"},{"href":"mailto:support@sainapsis.com","label":"Falar com o suporte"}],"primary":{"type":"button","label":"Aplicativo Bridge","href":"https://app.bridge.new"}},"pages":[{"title":"pt-BR","href":"/pt-br/guides/odata-feed"}]}]},"basePath":"","title":"LeadScout sessions in the OData feed - Bridge REST Integrations API \u0026 Webhooks","deploymentId":"dpl_Ab6nteg7kvyK8iL73naC2n7fmsWK","buildId":"dpl_Ab6nteg7kvyK8iL73naC2n7fmsWK","dynamics":[],"chunks":[]}