{ "id": "evt_KleiO4HBwZFbO1vZLWIPZ2AtX", "event": "message.received", "createdAt": "2025-07-16T10:48:15.000Z", "data": { "id": "msg_1KAP4CDPBSVMMBMH9XX3YZZ0Z", "text": "Hey! Thanks for joining the program. Let us know if you need any assets.", "readInApp": null, "readInEmail": null, "createdAt": "2025-07-16T10:48:14.722Z", "updatedAt": "2025-07-16T10:48:14.722Z", "attachments": [], "sourceType": "program", "program": { "id": "prog_CYCu7IMAapjkRpTnr8F1azjN", "name": "Acme", "slug": "acme", "logo": "https://assets.dub.co/logo.png" } }}
DUB POSTBACK EVENTS
message.received
{ "id": "evt_KleiO4HBwZFbO1vZLWIPZ2AtX", "event": "message.received", "createdAt": "2025-07-16T10:48:15.000Z", "data": { "id": "msg_1KAP4CDPBSVMMBMH9XX3YZZ0Z", "text": "Hey! Thanks for joining the program. Let us know if you need any assets.", "readInApp": null, "readInEmail": null, "createdAt": "2025-07-16T10:48:14.722Z", "updatedAt": "2025-07-16T10:48:14.722Z", "attachments": [], "sourceType": "program", "program": { "id": "prog_CYCu7IMAapjkRpTnr8F1azjN", "name": "Acme", "slug": "acme", "logo": "https://assets.dub.co/logo.png" } }}
Event triggered when a program you’re enrolled in sends you a direct message, whether from the dashboard, the API or an Intercom reply. Campaign messages don’t trigger this event.
Response body parameters
All webhook payloads follow a consistent top-level structure with event-specific data nested within the data object.
string
The event ID.
string
The event type that triggered the webhook (e.g., message.received).
string
ISO 8601 timestamp when the webhook event was created.
object
Event-specific data containing detailed information about the event. The data object for the message.received event contains the following parameters:
Hide object parameters
string
Unique identifier for the message.
string
The text of the message.
string | null
ISO 8601 timestamp when you read the message in the app, or null if you haven’t.
string | null
ISO 8601 timestamp when you read the message in an email, or null if you haven’t.
string
ISO 8601 timestamp when the message was sent.
string
ISO 8601 timestamp when the message was last updated.
object[]
The files attached to the message.
Show attachment object
string
The file name of the attachment.
number
The size of the attachment, in bytes.
string
The MIME type of the attachment.
string
A download link that expires after 1 hour.
string
Who sent the message. Always program for this event.
object
The program that sent the message.
Show program object
string
Unique identifier for the program.
string
Name of the program.
string
Slug of the program.
string | null
URL of the program’s logo, if any.
{ "id": "evt_KleiO4HBwZFbO1vZLWIPZ2AtX", "event": "message.received", "createdAt": "2025-07-16T10:48:15.000Z", "data": { "id": "msg_1KAP4CDPBSVMMBMH9XX3YZZ0Z", "text": "Hey! Thanks for joining the program. Let us know if you need any assets.", "readInApp": null, "readInEmail": null, "createdAt": "2025-07-16T10:48:14.722Z", "updatedAt": "2025-07-16T10:48:14.722Z", "attachments": [], "sourceType": "program", "program": { "id": "prog_CYCu7IMAapjkRpTnr8F1azjN", "name": "Acme", "slug": "acme", "logo": "https://assets.dub.co/logo.png" } }}
{"docsConfig":{"theme":"aspen","$schema":"https://mintlify.com/docs.json","name":"Dub","colors":{"primary":"#155dfc","light":"#155dfc","dark":"#155dfc"},"logo":{"light":"https://mintcdn.com/dub/NXC-v7aRqVVKRt1Q/logos/wordmark.svg?fit=max\u0026auto=format\u0026n=NXC-v7aRqVVKRt1Q\u0026q=85\u0026s=0f477cb77c06e4d3090acd888b427326","dark":"https://mintcdn.com/dub/NXC-v7aRqVVKRt1Q/logos/wordmark-dark.svg?fit=max\u0026auto=format\u0026n=NXC-v7aRqVVKRt1Q\u0026q=85\u0026s=825bae25fa971c0a55ffaa851442def1","href":"https://dub.co/home"},"favicon":"https://mintcdn.com/dub/S5CJNHicyu5NWQ7r/logos/favicon.png?fit=max\u0026auto=format\u0026n=S5CJNHicyu5NWQ7r\u0026q=85\u0026s=4b3bd73e3bc71569770af330a0dd1f9c","api":{"openapi":["https://dub.co/openapi.json","https://dub.co/partner-openapi.json"]},"navbar":{"links":[{"href":"https://dub.co/contact/support","label":"Contact support"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.dub.co/register"}},"footer":{"socials":{"github":"https://github.com/dubinc/dub","linkedin":"https://www.linkedin.com/company/dubinc","twitter":"https://twitter.com/dubdotco","website":"https://dub.co"}},"fonts":{"heading":{"family":"Satoshi","weight":700,"source":"fonts/Satoshi-Variable.woff2","format":"woff2"}},"integrations":{"plausible":{"domain":"dub.co"}},"contextual":{"options":["copy","view","chatgpt","claude","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"dub","hasAudioNarration":false,"actualSubdomain":"dub","customDomains":["dub.co"],"gitSource":{"type":"github","owner":"dubinc","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":"","_id":"6b10a18a9ffae5051c3f87bc"},"feedback":{"thumbs":true,"edits":true,"issues":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b114efd2e47c85dedd1b35c","clientVersion":"0.0.4428","searchFilterCounts":[{"language":"default","tag":"Help Center","count":120},{"language":"default","tag":"API Reference","count":96},{"language":"default","tag":"Dub API","count":84},{"language":"default","tag":"MANAGING YOUR LINKS","count":54},{"language":"default","tag":"MANAGING A PROGRAM","count":38},{"language":"default","tag":"Developer Docs","count":37},{"language":"default","tag":"DUB PARTNERS API","count":34},{"language":"default","tag":"Links","count":26},{"language":"default","tag":"Webhooks","count":25},{"language":"default","tag":"CONCEPTS","count":23}]},"assistantConfig":{"deflection":{"enabled":false,"email":"support@dub.co","showHelpButton":false}},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":true,"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":"control","enabled":true,"payload":{"type":"string","value":"control"},"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":"mcp-server.css","content":".mcp-tools td:first-child code{white-space:nowrap}.mcp-tools th:nth-child(2),.mcp-tools td:nth-child(2){width:1%;min-width:0;white-space:nowrap}.mcp-prompts .prompt{flex-wrap:nowrap}"}]}
{"page":{"pagePath":"docs/postbacks/events/message-received","slug":"/docs/postbacks/events/message-received","pageMetadata":{"title":"message.received","icon":"message","description":null,"href":"/docs/postbacks/events/message-received"},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];const WebhookResponseBodyParameters=({type,children})=>{const{Expandable,ParamField}=_provideComponents()||{};if(!Expandable)_missingMdxReference(`Expandable`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);return _jsxs(`div`,{children:[_jsx(`h2`,{children:`Response body parameters`}),_jsxs(`p`,{children:[`All webhook payloads follow a consistent top-level structure with event-specific data nested within the `,_jsx(`code`,{children:`data`}),` object.`]}),_jsx(ParamField,{body:`id`,type:`string`,children:`The event ID.`}),_jsxs(ParamField,{body:`event`,type:`string`,children:[`The event type that triggered the webhook (e.g., `,_jsx(`code`,{children:type}),`).`]}),_jsx(ParamField,{body:`createdAt`,type:`string`,children:`ISO 8601 timestamp when the webhook event was created.`}),_jsxs(ParamField,{body:`data`,type:`object`,children:[`Event-specific data containing detailed information about the event. The data object for the `,_jsx(`code`,{children:type}),` event contains the following parameters:`,_jsx(Expandable,{defaultOpen:true,title:`object parameters`,children})]})]})};function _createMdxContent(props){const _components={code:`code`,p:`p`,..._provideComponents(),...props.components},{Expandable,ParamField,_MdxComponentBoundary}=_components;if(!Expandable)_missingMdxReference(`Expandable`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!_MdxComponentBoundary)_missingMdxReference(`_MdxComponentBoundary`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Event triggered when a program you’re enrolled in sends you a direct message, whether from the dashboard, the API or an Intercom reply. Campaign messages don’t trigger this event.`}),`\n`,_jsx(_MdxComponentBoundary,{name:`WebhookResponseBodyParameters`,children:_jsxs(WebhookResponseBodyParameters,{type:`message.received`,children:[_jsx(ParamField,{body:`id`,type:`string`,id:`param-id`,children:_jsx(_components.p,{children:`Unique identifier for the message.`})}),_jsx(ParamField,{body:`text`,type:`string`,id:`param-text`,children:_jsx(_components.p,{children:`The text of the message.`})}),_jsx(ParamField,{body:`readInApp`,type:`string | null`,id:`param-read-in-app`,children:_jsxs(_components.p,{children:[`ISO 8601 timestamp when you read the message in the app, or `,_jsx(_components.code,{children:`null`}),` if you haven’t.`]})}),_jsx(ParamField,{body:`readInEmail`,type:`string | null`,id:`param-read-in-email`,children:_jsxs(_components.p,{children:[`ISO 8601 timestamp when you read the message in an email, or `,_jsx(_components.code,{children:`null`}),` if you haven’t.`]})}),_jsx(ParamField,{body:`createdAt`,type:`string`,id:`param-created-at`,children:_jsx(_components.p,{children:`ISO 8601 timestamp when the message was sent.`})}),_jsx(ParamField,{body:`updatedAt`,type:`string`,id:`param-updated-at`,children:_jsx(_components.p,{children:`ISO 8601 timestamp when the message was last updated.`})}),_jsxs(ParamField,{body:`attachments`,type:`object[]`,id:`param-attachments`,children:[_jsx(_components.p,{children:`The files attached to the message.`}),_jsxs(Expandable,{title:`attachment object`,children:[_jsx(ParamField,{body:`name`,type:`string`,id:`param-name`,children:_jsx(_components.p,{children:`The file name of the attachment.`})}),_jsx(ParamField,{body:`size`,type:`number`,id:`param-size`,children:_jsx(_components.p,{children:`The size of the attachment, in bytes.`})}),_jsx(ParamField,{body:`type`,type:`string`,id:`param-type`,children:_jsx(_components.p,{children:`The MIME type of the attachment.`})}),_jsx(ParamField,{body:`url`,type:`string`,id:`param-url`,children:_jsx(_components.p,{children:`A download link that expires after 1 hour.`})})]})]}),_jsx(ParamField,{body:`sourceType`,type:`string`,id:`param-source-type`,children:_jsxs(_components.p,{children:[`Who sent the message. Always `,_jsx(`code`,{children:`program`}),` for this event.`]})}),_jsxs(ParamField,{body:`program`,type:`object`,id:`param-program`,children:[_jsx(_components.p,{children:`The program that sent the message.`}),_jsxs(Expandable,{title:`program object`,children:[_jsx(ParamField,{body:`id`,type:`string`,id:`param-id-1`,children:_jsx(_components.p,{children:`Unique identifier for the program.`})}),_jsx(ParamField,{body:`name`,type:`string`,id:`param-name-1`,children:_jsx(_components.p,{children:`Name of the program.`})}),_jsx(ParamField,{body:`slug`,type:`string`,id:`param-slug`,children:_jsx(_components.p,{children:`Slug of the program.`})}),_jsx(ParamField,{body:`logo`,type:`string | null`,id:`param-logo`,children:_jsx(_components.p,{children:`URL of the program’s logo, if any.`})})]})]})]})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{WebhookResponseBodyParameters,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":"message.received","icon":"message","description":null,"href":"/docs/postbacks/events/message-received"}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];const WebhookResponseBodyParameters=({type,children})=>{const{Expandable,ParamField}=_provideComponents()||{};if(!Expandable)_missingMdxReference(`Expandable`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);return _jsxs(`div`,{children:[_jsx(`h2`,{children:`Response body parameters`}),_jsxs(`p`,{children:[`All webhook payloads follow a consistent top-level structure with event-specific data nested within the `,_jsx(`code`,{children:`data`}),` object.`]}),_jsx(ParamField,{body:`id`,type:`string`,children:`The event ID.`}),_jsxs(ParamField,{body:`event`,type:`string`,children:[`The event type that triggered the webhook (e.g., `,_jsx(`code`,{children:type}),`).`]}),_jsx(ParamField,{body:`createdAt`,type:`string`,children:`ISO 8601 timestamp when the webhook event was created.`}),_jsxs(ParamField,{body:`data`,type:`object`,children:[`Event-specific data containing detailed information about the event. The data object for the `,_jsx(`code`,{children:type}),` event contains the following parameters:`,_jsx(Expandable,{defaultOpen:true,title:`object parameters`,children})]})]})};function _createMdxContent(props){const _components={code:`code`,p:`p`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock,Expandable,ParamField,ResponseExample,_MdxComponentBoundary}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!_MdxComponentBoundary)_missingMdxReference(`_MdxComponentBoundary`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Event triggered when a program you’re enrolled in sends you a direct message, whether from the dashboard, the API or an Intercom reply. Campaign messages don’t trigger this event.`}),`\n`,_jsx(_MdxComponentBoundary,{name:`WebhookResponseBodyParameters`,children:_jsxs(WebhookResponseBodyParameters,{type:`message.received`,children:[_jsx(ParamField,{body:`id`,type:`string`,id:`param-id`,children:_jsx(_components.p,{children:`Unique identifier for the message.`})}),_jsx(ParamField,{body:`text`,type:`string`,id:`param-text`,children:_jsx(_components.p,{children:`The text of the message.`})}),_jsx(ParamField,{body:`readInApp`,type:`string | null`,id:`param-read-in-app`,children:_jsxs(_components.p,{children:[`ISO 8601 timestamp when you read the message in the app, or `,_jsx(_components.code,{children:`null`}),` if you haven’t.`]})}),_jsx(ParamField,{body:`readInEmail`,type:`string | null`,id:`param-read-in-email`,children:_jsxs(_components.p,{children:[`ISO 8601 timestamp when you read the message in an email, or `,_jsx(_components.code,{children:`null`}),` if you haven’t.`]})}),_jsx(ParamField,{body:`createdAt`,type:`string`,id:`param-created-at`,children:_jsx(_components.p,{children:`ISO 8601 timestamp when the message was sent.`})}),_jsx(ParamField,{body:`updatedAt`,type:`string`,id:`param-updated-at`,children:_jsx(_components.p,{children:`ISO 8601 timestamp when the message was last updated.`})}),_jsxs(ParamField,{body:`attachments`,type:`object[]`,id:`param-attachments`,children:[_jsx(_components.p,{children:`The files attached to the message.`}),_jsxs(Expandable,{title:`attachment object`,children:[_jsx(ParamField,{body:`name`,type:`string`,id:`param-name`,children:_jsx(_components.p,{children:`The file name of the attachment.`})}),_jsx(ParamField,{body:`size`,type:`number`,id:`param-size`,children:_jsx(_components.p,{children:`The size of the attachment, in bytes.`})}),_jsx(ParamField,{body:`type`,type:`string`,id:`param-type`,children:_jsx(_components.p,{children:`The MIME type of the attachment.`})}),_jsx(ParamField,{body:`url`,type:`string`,id:`param-url`,children:_jsx(_components.p,{children:`A download link that expires after 1 hour.`})})]})]}),_jsx(ParamField,{body:`sourceType`,type:`string`,id:`param-source-type`,children:_jsxs(_components.p,{children:[`Who sent the message. Always `,_jsx(`code`,{children:`program`}),` for this event.`]})}),_jsxs(ParamField,{body:`program`,type:`object`,id:`param-program`,children:[_jsx(_components.p,{children:`The program that sent the message.`}),_jsxs(Expandable,{title:`program object`,children:[_jsx(ParamField,{body:`id`,type:`string`,id:`param-id-1`,children:_jsx(_components.p,{children:`Unique identifier for the program.`})}),_jsx(ParamField,{body:`name`,type:`string`,id:`param-name-1`,children:_jsx(_components.p,{children:`Name of the program.`})}),_jsx(ParamField,{body:`slug`,type:`string`,id:`param-slug`,children:_jsx(_components.p,{children:`Slug of the program.`})}),_jsx(ParamField,{body:`logo`,type:`string | null`,id:`param-logo`,children:_jsx(_components.p,{children:`URL of the program’s logo, if any.`})})]})]})]})}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:`Response`,numberOfLines:`21`,language:`json`,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:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`21`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"evt_KleiO4HBwZFbO1vZLWIPZ2AtX\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"event\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"message.received\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"createdAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2025-07-16T10:48:15.000Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"msg_1KAP4CDPBSVMMBMH9XX3YZZ0Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"text\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Hey! Thanks for joining the program. Let us know if you need any assets.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"readInApp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"readInEmail\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"createdAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2025-07-16T10:48:14.722Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"updatedAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2025-07-16T10:48:14.722Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"attachments\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"sourceType\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"program\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"program\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"prog_CYCu7IMAapjkRpTnr8F1azjN\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Acme\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"slug\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"acme\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"logo\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://assets.dub.co/logo.png\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{WebhookResponseBodyParameters,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":"message.received","icon":"message","description":null,"href":"/docs/postbacks/events/message-received"}}}},"mdxExtracts":{"tableOfContents":[],"codeExamples":{"response":{"type":"ResponseExample","children":[{"filename":"Response","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"21\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"evt_KleiO4HBwZFbO1vZLWIPZ2AtX\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"event\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"message.received\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"createdAt\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2025-07-16T10:48:15.000Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"data\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"msg_1KAP4CDPBSVMMBMH9XX3YZZ0Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"text\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Hey! Thanks for joining the program. Let us know if you need any assets.\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"readInApp\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"readInEmail\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"createdAt\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2025-07-16T10:48:14.722Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"updatedAt\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2025-07-16T10:48:14.722Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"attachments\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"sourceType\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"program\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"program\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"prog_CYCu7IMAapjkRpTnr8F1azjN\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Acme\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"slug\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"acme\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"logo\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"https://assets.dub.co/logo.png\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}}},"jsLinks":["/_mintlify/custom/dub/269f9b4976f6c2a3/dub-analytics.js","/_mintlify/custom/dub/1ffaeceafecf0293/dub-support.js"],"subdomain":"dub","siteName":"Dub","title":"message.received - Dub","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-30T07:51:53.606Z","originalFileLocation":"docs/postbacks/events/message-received.mdx"},"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=\"system\"}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=\"application-name\" content=\"Dub\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/dub/1aGPzlRe7hx45hfC/_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/dub/1aGPzlRe7hx45hfC/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/dub/1aGPzlRe7hx45hfC/_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/dub/1aGPzlRe7hx45hfC/_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/dub/1aGPzlRe7hx45hfC/_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/dub/1aGPzlRe7hx45hfC/_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/dub/1aGPzlRe7hx45hfC/_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/dub/1aGPzlRe7hx45hfC/_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/dub/1aGPzlRe7hx45hfC/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"message.received - Dub\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Dub\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://dub.co/docs/postbacks/events/message-received\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://dub.mintlify.site/_mintlify/api/og/v2?division=DUB+POSTBACK+EVENTS\u0026amp;title=message.received\u0026amp;theme=f39cdc5d19dec9d0cd82aba3\u0026amp;signature=d05b4f99039921aa3d616691e202c221eb4d09ffcc077d83b63d564a3caf6803\">\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=\"message.received - Dub\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://dub.mintlify.site/_mintlify/api/og/v2?division=DUB+POSTBACK+EVENTS\u0026amp;title=message.received\u0026amp;theme=f39cdc5d19dec9d0cd82aba3\u0026amp;signature=d05b4f99039921aa3d616691e202c221eb4d09ffcc077d83b63d564a3caf6803\">\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/dub/1aGPzlRe7hx45hfC/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Dub\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#155dfc\">\u003clink data-mint-head rel=\"canonical\" href=\"https://dub.co/docs/postbacks/events/message-received\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/postbacks/events/message-received.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://dub.co/#organization\",\"name\":\"Dub\",\"url\":\"https://dub.co\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/dub/NXC-v7aRqVVKRt1Q/logos/wordmark.svg?fit=max\u0026auto=format\u0026n=NXC-v7aRqVVKRt1Q\u0026q=85\u0026s=0f477cb77c06e4d3090acd888b427326\"}},{\"@type\":\"WebSite\",\"@id\":\"https://dub.co#website\",\"name\":\"Dub\",\"url\":\"https://dub.co\",\"publisher\":{\"@id\":\"https://dub.co/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://dub.co/docs/postbacks/events/message-received#webpage\",\"url\":\"https://dub.co/docs/postbacks/events/message-received\",\"name\":\"message.received\",\"dateModified\":\"2026-11-30T07:51:53.606Z\",\"isPartOf\":{\"@id\":\"https://dub.co#website\"},\"breadcrumb\":{\"@id\":\"https://dub.co/docs/postbacks/events/message-received#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://dub.co/docs/postbacks/events/message-received#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"DUB POSTBACK EVENTS\",\"item\":\"https://dub.co/docs/postbacks/events/lead-created\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"message.received\",\"item\":\"https://dub.co/docs/postbacks/events/message-received\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://dub.co/docs/postbacks/events/message-received#article\",\"headline\":\"message.received\",\"name\":\"message.received\",\"url\":\"https://dub.co/docs/postbacks/events/message-received\",\"mainEntityOfPage\":{\"@id\":\"https://dub.co/docs/postbacks/events/message-received#webpage\"},\"dateModified\":\"2026-11-30T07:51:53.606Z\",\"publisher\":{\"@id\":\"https://dub.co/#organization\"},\"isPartOf\":{\"@id\":\"https://dub.co#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Dub\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Dub\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/postbacks/events/message-received.md","siteName":"Dub","nav":{"global":null,"tabs":[{"tab":"Developer Docs","icon":"books","pages":[{"title":"Developer Docs","href":"/docs"}]},{"tab":"Help Center","icon":"life-ring","pages":[{"title":"Help Center","href":"/help"}]},{"tab":"API Reference","icon":"code","dropdowns":[{"dropdown":"Dub API","icon":"code","groups":[{"group":"DUB API","pages":[{"title":"Introduction","href":"/docs/api-reference/introduction"},{"title":"API Authentication","sidebarTitle":"Authentication","href":"/docs/api-reference/authentication"},{"title":"Rate limits","href":"/docs/api-reference/rate-limits"},{"title":"Errors","href":"/docs/api-reference/errors"},{"title":"Dub MCP Server","sidebarTitle":"MCP Server","href":"/docs/mcp-server"}]},{"group":"SDKs","pages":[{"title":"Overview","href":"/docs/sdks/overview"},{"group":"Server-side SDKs","pages":[{"title":"TypeScript SDK","href":"/docs/sdks/typescript"},{"title":"Python SDK","href":"/docs/sdks/python"},{"title":"Ruby SDK","href":"/docs/sdks/ruby"},{"title":"PHP SDK","href":"/docs/sdks/php"},{"title":"Go SDK","href":"/docs/sdks/go"}]},{"group":"Client-side SDK (Web)","pages":[{"title":"Introduction","href":"/docs/sdks/client-side/introduction"},{"group":"Installation guides","pages":[{"title":"React","href":"/docs/sdks/client-side/installation-guides/react"},{"title":"Google Tag Manager","href":"/docs/sdks/client-side/installation-guides/google-tag-manager"},{"title":"Manual Installation","href":"/docs/sdks/client-side/installation-guides/manual"},{"title":"Webflow","href":"/docs/sdks/client-side/installation-guides/webflow"},{"title":"WordPress","href":"/docs/sdks/client-side/installation-guides/wordpress"},{"title":"Framer","href":"/docs/sdks/client-side/installation-guides/framer"},{"title":"Shopify","href":"/docs/sdks/client-side/installation-guides/shopify"}]},{"title":"Script Variants","href":"/docs/sdks/client-side/variants"},{"group":"Features","pages":[{"title":"Client-side click tracking","href":"/docs/sdks/client-side/features/click-tracking"},{"title":"Client-side conversion tracking","href":"/docs/sdks/client-side/features/conversion-tracking"},{"title":"Cross-domain tracking","href":"/docs/sdks/client-side/features/cross-domain-tracking"},{"title":"Reverse-proxy support","href":"/docs/sdks/client-side/features/reverse-proxy-support"},{"title":"Identity tracking for partner risk monitoring","sidebarTitle":"Identity tracking","tag":"Beta","href":"/docs/sdks/client-side/features/identity-tracking"}]}]},{"group":"Client-side SDK (Mobile)","pages":[{"title":"Introduction","href":"/docs/sdks/client-side-mobile/introduction"},{"group":"Installation Guides","pages":[{"title":"Swift","tag":"Beta","href":"/docs/sdks/client-side-mobile/installation-guides/swift"},{"title":"React Native","tag":"Beta","href":"/docs/sdks/client-side-mobile/installation-guides/react-native"}]}]}]},{"group":"DUB PARTNERS API","pages":[{"group":"Partners","pages":[{"openapi":"post /partners","sidebarTitle":"Create partner","title":"Create or update a partner","href":"/docs/api-reference/partners/create"},{"openapi":"get /partners","sidebarTitle":"List partners","title":"List all partners","href":"/docs/api-reference/partners/list"},{"title":"Update partner group","openapi":"post /partners/update-group","href":"/docs/api-reference/partners/update-group"},{"title":"Update partner tags","openapi":"post /partners/update-tags","href":"/docs/api-reference/partners/update-tags"},{"openapi":"post /partners/ban","sidebarTitle":"Ban partner","title":"Ban a partner","href":"/docs/api-reference/partners/ban"},{"openapi":"post /partners/deactivate","sidebarTitle":"Deactivate partner","title":"Deactivate a partner","href":"/docs/api-reference/partners/deactivate"},{"openapi":"post /partners/attribute-referring-partner","sidebarTitle":"Attribute referring partner","title":"Attribute a referring partner","href":"/docs/api-reference/partners/attribute-referring-partner"}]},{"group":"Partner links","pages":[{"openapi":"post /partners/links","sidebarTitle":"Create partner link","title":"Create a link for a partner","href":"/docs/api-reference/partners/create-link"},{"openapi":"put /partners/links/upsert","sidebarTitle":"Upsert partner link","title":"Upsert a link for a partner","href":"/docs/api-reference/partners/upsert-link"},{"openapi":"get /partners/links","sidebarTitle":"List partner links","title":"Retrieve a partner's links.","href":"/docs/api-reference/partners/retrieve-links"}]},{"group":"Program applications","pages":[{"openapi":"get /program-applications","sidebarTitle":"List program applications","title":"List all program applications","href":"/docs/api-reference/program-applications/list"},{"openapi":"post /program-applications/approve","sidebarTitle":"Approve program application","title":"Approve a partner application","href":"/docs/api-reference/program-applications/approve"},{"openapi":"post /program-applications/reject","sidebarTitle":"Reject program application","title":"Reject a partner application","href":"/docs/api-reference/program-applications/reject"}]},{"group":"Analytics \u0026 events","pages":[{"title":"Retrieve analytics","openapi":"get /analytics","href":"/docs/api-reference/analytics/retrieve"},{"openapi":"get /events","sidebarTitle":"List events","title":"List all events","href":"/docs/api-reference/events/list"}]},{"group":"Tracking","pages":[{"openapi":"post /track/lead","title":"Track a lead event","href":"/docs/api-reference/track/lead"},{"openapi":"post /track/sale","title":"Track a sale event","href":"/docs/api-reference/track/sale"},{"openapi":"post /track/open","title":"Track a deep link open event","href":"/docs/api-reference/track/open"}]},{"group":"Customers","pages":[{"openapi":"get /customers/{id}","sidebarTitle":"Retrieve customer","title":"Retrieve a customer","href":"/docs/api-reference/customers/retrieve"},{"openapi":"get /customers","sidebarTitle":"List customers","title":"List all customers","href":"/docs/api-reference/customers/list"},{"openapi":"patch /customers/{id}","sidebarTitle":"Update customer","title":"Update a customer","href":"/docs/api-reference/customers/update"},{"openapi":"delete /customers/{id}","sidebarTitle":"Delete customer","title":"Delete a customer","href":"/docs/api-reference/customers/delete"}]},{"group":"Bounty submissions","pages":[{"openapi":"get /bounties/{bountyId}/submissions","sidebarTitle":"List submissions","title":"List bounty submissions","href":"/docs/api-reference/bounties/list"},{"openapi":"post /bounties/{bountyId}/submissions/{submissionId}/approve","sidebarTitle":"Approve submission","title":"Approve a bounty submission","href":"/docs/api-reference/bounties/approve"},{"openapi":"post /bounties/{bountyId}/submissions/{submissionId}/reject","sidebarTitle":"Reject submission","title":"Reject a bounty submission","href":"/docs/api-reference/bounties/reject"}]},{"group":"Commissions","pages":[{"openapi":"get /commissions","sidebarTitle":"List commissions","title":"List all commissions","href":"/docs/api-reference/commissions/list"},{"openapi":"post /commissions","sidebarTitle":"Create commission","title":null,"href":"/docs/api-reference/commissions/create"},{"openapi":"patch /commissions/{id}","sidebarTitle":"Update commission","title":"Update a commission","href":"/docs/api-reference/commissions/update"}]},{"group":"Payouts","pages":[{"openapi":"get /payouts","sidebarTitle":"List payouts","title":"List all payouts","href":"/docs/api-reference/payouts/list"}]},{"group":"Messages","pages":[{"openapi":"get /messages","sidebarTitle":"List messages","title":"List all messages","href":"/docs/api-reference/messages/list"},{"openapi":"post /messages","sidebarTitle":"Send a message","title":"Send a message to a program","href":"/docs/api-reference/messages/create"}]},{"group":"Discount codes","pages":[{"openapi":"get /discount-codes","sidebarTitle":"List discount codes","title":"List discount codes","href":"/docs/api-reference/discount-codes/list"},{"openapi":"post /discount-codes","sidebarTitle":"Create discount code","title":"Create a discount code","href":"/docs/api-reference/discount-codes/create"},{"openapi":"delete /discount-codes/{idOrCode}","sidebarTitle":"Delete discount code","title":"Delete a discount code","href":"/docs/api-reference/discount-codes/delete"}]}]},{"group":"DUB LINKS API","pages":[{"group":"Links","pages":[{"openapi":"post /links","sidebarTitle":"Create link","title":"Create a link","href":"/docs/api-reference/links/create"},{"openapi":"patch /links/{linkId}","sidebarTitle":"Update link","title":"Update a link","href":"/docs/api-reference/links/update"},{"openapi":"put /links/upsert","sidebarTitle":"Upsert link","title":"Upsert a link","href":"/docs/api-reference/links/upsert"},{"openapi":"delete /links/{linkId}","sidebarTitle":"Delete link","title":"Delete a link","href":"/docs/api-reference/links/delete"},{"openapi":"get /links/info","sidebarTitle":"Retrieve link","title":"Retrieve a link","href":"/docs/api-reference/links/retrieve"},{"openapi":"get /links","sidebarTitle":"List links","title":"List all links","href":"/docs/api-reference/links/list"},{"openapi":"get /links/count","sidebarTitle":"Count links","title":"Retrieve links count","href":"/docs/api-reference/links/count"},{"openapi":"post /links/bulk","sidebarTitle":"Bulk create links","title":"Bulk create links","href":"/docs/api-reference/links/bulk-create"},{"openapi":"patch /links/bulk","sidebarTitle":"Bulk update links","title":"Bulk update links","href":"/docs/api-reference/links/bulk-update"},{"openapi":"delete /links/bulk","sidebarTitle":"Bulk delete links","title":"Bulk delete links","href":"/docs/api-reference/links/bulk-delete"}]},{"group":"Domains","pages":[{"openapi":"post /domains","sidebarTitle":"Create domain","title":"Create a domain","href":"/docs/api-reference/domains/create"},{"openapi":"patch /domains/{slug}","sidebarTitle":"Update domain","title":"Update a domain","href":"/docs/api-reference/domains/update"},{"openapi":"delete /domains/{slug}","sidebarTitle":"Delete domain","title":"Delete a domain","href":"/docs/api-reference/domains/delete"},{"openapi":"post /domains/register","sidebarTitle":"Register domain","title":"Register a domain","href":"/docs/api-reference/domains/register"},{"openapi":"get /domains/status","sidebarTitle":"Check domain availability","title":"Check the availability of one or more domains","href":"/docs/api-reference/domains/check-availability"}]},{"group":"Folders","pages":[{"openapi":"post /folders","sidebarTitle":"Create folder","title":"Create a folder","href":"/docs/api-reference/folders/create"},{"openapi":"patch /folders/{id}","sidebarTitle":"Update folder","title":"Update a folder","href":"/docs/api-reference/folders/update"},{"openapi":"delete /folders/{id}","sidebarTitle":"Delete folder","title":"Delete a folder","href":"/docs/api-reference/folders/delete"},{"openapi":"get /folders","sidebarTitle":"List folders","title":"List all folders","href":"/docs/api-reference/folders/list"}]},{"group":"Tags","pages":[{"openapi":"post /tags","sidebarTitle":"Create tag","title":"Create a tag","href":"/docs/api-reference/tags/create"},{"openapi":"get /tags","sidebarTitle":"List tags","title":"List all tags","href":"/docs/api-reference/tags/list"},{"openapi":"patch /tags/{id}","sidebarTitle":"Update tag","title":"Update a tag","href":"/docs/api-reference/tags/update"}]}]}]},{"dropdown":"Dub Partner API","icon":"chart-line","groups":[{"group":"DUB PARTNER API","pages":[{"title":"Introduction","href":"/docs/partner-api-reference/introduction"},{"title":"Partner API Authentication","sidebarTitle":"Authentication","href":"/docs/partner-api-reference/authentication"},{"title":"Partner API rate limits","sidebarTitle":"Rate limits","href":"/docs/partner-api-reference/rate-limits"},{"title":"Errors","href":"/docs/partner-api-reference/errors"},{"title":"Dub Partners MCP Server","sidebarTitle":"MCP Server","href":"/docs/partner-api-reference/mcp-server"}]},{"group":"ENDPOINTS","pages":[{"group":"Commissions","pages":[{"openapi":"https://dub.co/partner-openapi.json GET /commissions","sidebarTitle":"List commissions","title":"List all commissions","href":"/docs/partner-api-reference/commissions/list"}]},{"group":"Payouts","pages":[{"openapi":"https://dub.co/partner-openapi.json GET /payouts","sidebarTitle":"List payouts","title":"List all payouts","href":"/docs/partner-api-reference/payouts/list"}]},{"group":"Customers","pages":[{"openapi":"https://dub.co/partner-openapi.json GET /customers","sidebarTitle":"List customers","title":"List all customers","href":"/docs/partner-api-reference/customers/list"}]},{"group":"Programs","pages":[{"openapi":"https://dub.co/partner-openapi.json GET /programs","sidebarTitle":"List programs","title":"List all programs","href":"/docs/partner-api-reference/programs/list"},{"openapi":"https://dub.co/partner-openapi.json GET /programs/network","sidebarTitle":"List network programs","title":"List all programs in the partner network","href":"/docs/partner-api-reference/programs/list-network"}]},{"group":"Messages","pages":[{"openapi":"https://dub.co/partner-openapi.json GET /messages","sidebarTitle":"List messages","title":"List all messages","href":"/docs/partner-api-reference/messages/list"},{"openapi":"https://dub.co/partner-openapi.json POST /messages","sidebarTitle":"Send a message","title":"Send a message to a program","href":"/docs/partner-api-reference/messages/send"}]}]}]}]},{"tab":"Webhooks","icon":"webhook","dropdowns":[{"dropdown":"Dub Webhooks","icon":"webhook","groups":[{"group":"DUB WEBHOOKS","pages":[{"title":"Introduction","href":"/docs/webhooks/introduction"},{"title":"Event types","href":"/docs/webhooks/event-types"},{"title":"Verify webhook requests","href":"/docs/webhooks/verify-webhook-requests"}]},{"group":"DUB PARTNERS WEBHOOKS","pages":[{"title":"program_application.created","icon":"users","href":"/docs/webhooks/events/program-application-created"},{"title":"partner.enrolled","icon":"users","href":"/docs/webhooks/events/partner-enrolled"},{"title":"partner.merged","icon":"users","href":"/docs/webhooks/events/partner-merged"},{"title":"lead.created","icon":"user-crown","href":"/docs/webhooks/events/lead-created"},{"title":"sale.created","icon":"coins","href":"/docs/webhooks/events/sale-created"},{"title":"commission.created","icon":"money-bill","href":"/docs/webhooks/events/commission-created"},{"title":"bounty.created","icon":"trophy","href":"/docs/webhooks/events/bounty-created"},{"title":"bounty.updated","icon":"trophy","href":"/docs/webhooks/events/bounty-updated"},{"title":"discount_code.created","icon":"ticket","href":"/docs/webhooks/events/discount-code-created"},{"title":"discount_code.deleted","icon":"ticket","href":"/docs/webhooks/events/discount-code-deleted"},{"title":"message.received","icon":"message","href":"/docs/webhooks/events/message-received"}]},{"group":"DUB LINKS WEBHOOKS","pages":[{"title":"link.created","icon":"link","href":"/docs/webhooks/events/link-created"},{"title":"link.updated","icon":"link","href":"/docs/webhooks/events/link-updated"},{"title":"link.deleted","icon":"link","href":"/docs/webhooks/events/link-deleted"},{"title":"link.clicked","icon":"link","href":"/docs/webhooks/events/link-clicked"}]}]},{"dropdown":"Dub Postbacks","icon":"arrow-progress","groups":[{"group":"DUB POSTBACKS","pages":[{"title":"Introduction","href":"/docs/postbacks/introduction"},{"title":"Event types","href":"/docs/postbacks/event-types"},{"title":"Verify postback requests","href":"/docs/postbacks/verify-postback-requests"}]},{"group":"DUB POSTBACK EVENTS","pages":[{"title":"lead.created","icon":"user-crown","href":"/docs/postbacks/events/lead-created"},{"title":"sale.created","icon":"coins","href":"/docs/postbacks/events/sale-created"},{"title":"commission.created","icon":"money-bill","description":null,"href":"/docs/postbacks/events/commission-created"},{"title":"message.received","icon":"message","href":"/docs/postbacks/events/message-received"}]}]}]}]},"basePath":"","title":"message.received - Dub","deploymentId":"dpl_4dgnk6TA5fUgboKHTvWWyeqm3idh","buildId":"dpl_4dgnk6TA5fUgboKHTvWWyeqm3idh","dynamics":["2b790eda92"],"chunks":["ApiExamples-BnqLE2Kf.js","usePlaygroundInputsStore-DhQKVH9n.js","shallow-BOCfJNQU.js","utils-D3TDKJCH.js","utils-u8TSWPiZ.js","isEqual-BrbSa25D.js","_Uint8Array-BuOv0f5_.js","isObject-FP1Yky1u.js","CodeSnippets-DUGBlB-S.js","CodeSnippet-CuGpPhIN.js","snippetPresets-D3m2eL-0.js","style-to-object-BY3JEAdk.js","use-playground-group-access-DYZiRN3l.js","cloneDeep-Cyl7LOol.js","v4-DIgz8zy6.js"]}