Webhooks
Set up webhooks to receive notifications about emails, labels, and other Missive events via HTTP POST.
Webhooks
How to setup
1
2
Request format
{
"rule": {
"id": "45408b30-aa3a-45n1-bh67-0a0cb8da9080",
"description": "Notify elfs",
"type": "label_change"
},
"conversation": {
"id": "47a57b76-df42-4d8k-927x-80dbe5d87191",
"subject": "Mordor GPS coordinates",
"latest_message_subject": "Fwd: Mordor GPS coordinates",
"organization": {
"id": "93e5e5d5-11a2-4c9b-80b8-94f3c08068cf",
"name": "Fellowship"
},
"team": {
"id": "2f618f9e-d3d4-4a01-b7d5-57124ab366b8",
"name": "Hobbits",
"organization": "93e5e5d5-11a2-4c9b-80b8-94f3c08068cf"
},
"color": null,
"assignees": [
{
"id": "6b52b6b9-9b51-46ad-a4e3-82ef3c45512c",
"name": "Frodo Baggins",
"email": "frodo@fellowship.org",
"unassigned": false,
"closed": false,
"archived": false,
"trashed": false,
"junked": false,
"assigned": true,
"flagged": false,
"snoozed": true
}
],
"assignee_names": "Frodo Baggins",
"assignee_emails": "frodo@fellowship.org",
"users": [
{
"id": "6b52b6b9-9b51-46ad-a4e3-82ef3c45512c",
"name": "Frodo Baggins",
"email": "frodo@fellowship.org",
"unassigned": false,
"closed": false,
"archived": false,
"trashed": false,
"junked": false,
"assigned": true,
"flagged": false,
"snoozed": true
}
],
"attachments_count": 0,
"messages_count": 1,
"authors": [
{
"name": "Samwise Gamgee",
"address": "sam@fellowship.org"
}
],
"drafts_count": 0,
"send_later_messages_count": 0,
"tasks_count": 0,
"completed_tasks_count": 0,
"shared_labels": [
{
"id": "146ff5c4-d5la-3b63-b994-76711fn790lq",
"name": "Elfs"
}
],
"shared_label_names": "Elfs",
"app_url": "missive://mail.missiveapp.com/#inbox/conversations/47a57b76-df42-4d8k-927x-80dbe5d87191",
"web_url": "https://mail.missiveapp.com/#inbox/conversations/47a57b76-df42-4d8k-927x-80dbe5d87191"
},
"latest_message": {
"id": "86ef8bb8-269c-4959-a4f0-213db4e67844",
"subject": "Fwd: Mordor GPS coordinates",
"preview": "Hi Mr. Gamgee, I discovered something really disturbing about the Mordor coordinates we had.",
"type": "email",
"delivered_at": 1548415828,
"updated_at": 1548434556,
"created_at": 1548434555,
"email_message_id": "<cMx4teIvYRDqVI9osfdRZKA@1.lotrmail.net>",
"in_reply_to": [],
"references": [],
"from_field": {
"name": "Samwise Gamgee",
"address": "sam@fellowship.org"
},
"to_fields": [
{
"name": null,
"address": "sam@fellowship.org"
}
],
"cc_fields": [],
"bcc_fields": [],
"reply_to_fields": []
}
}Error handling and retry
Request validation
Need more specific answers?
Last updated