{ "id": "evt_KleiO4HBwZFbO1vZLWIPZ2AtX", "event": "message.received", "createdAt": "2026-10-29T10:12:45.468Z", "data": { "id": "msg_1K9C1VZ6MRDF4E1D0Q2DE8CTB", "text": "Hey! Do you have any guidelines for promoting Dub on YouTube?", "readInApp": null, "readInEmail": null, "createdAt": "2026-10-29T10:12:45.000Z", "updatedAt": "2026-10-29T10:12:45.000Z", "attachments": [ { "name": "youtube-channel-stats.png", "size": 248193, "type": "image/png", "url": "https://dubassets.com/messages/prog_1K0QHV7MP3PR05CJSCF5VN93X/xA9kT2pLq0/youtube-channel-stats.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Expires=3600&X-Amz-Signature=..." } ], "sourceType": "partner", "partner": { "id": "pn_1K9BZE1K285BSTX4W6MPKXJFZ", "name": "Steven Tey", "email": "steven@dub.co", "image": null } }}
DUB PARTNERS WEBHOOKS
message.received
{ "id": "evt_KleiO4HBwZFbO1vZLWIPZ2AtX", "event": "message.received", "createdAt": "2026-10-29T10:12:45.468Z", "data": { "id": "msg_1K9C1VZ6MRDF4E1D0Q2DE8CTB", "text": "Hey! Do you have any guidelines for promoting Dub on YouTube?", "readInApp": null, "readInEmail": null, "createdAt": "2026-10-29T10:12:45.000Z", "updatedAt": "2026-10-29T10:12:45.000Z", "attachments": [ { "name": "youtube-channel-stats.png", "size": 248193, "type": "image/png", "url": "https://dubassets.com/messages/prog_1K0QHV7MP3PR05CJSCF5VN93X/xA9kT2pLq0/youtube-channel-stats.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Expires=3600&X-Amz-Signature=..." } ], "sourceType": "partner", "partner": { "id": "pn_1K9BZE1K285BSTX4W6MPKXJFZ", "name": "Steven Tey", "email": "steven@dub.co", "image": null } }}
Occurs whenever a partner sends a message to your program.
This event only fires for messages that partners send. Messages that your
program sends, from the dashboard or with the Send a message
API, do not trigger it.
The data object is the same message object that the List messages API returns.
Response body parameters
All webhook payloads follow a consistent top-level structure with event-specific data nested within the data object.