{"componentChunkName":"component---src-templates-blog-post-js","path":"/blog/webhook-support/","result":{"data":{"site":{"siteMetadata":{"title":"The Official MailPace Blog","author":"Paul, founder of MailPace"}},"mdx":{"id":"61798554-a106-55ab-a2f1-27f0680075e3","excerpt":"We've added a long-requested feature to our service:  Webhooks What are Webhooks? Webhooks are HTTP requests automatically triggered by a service to an endpoint…","body":"var _excluded = [\"components\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\n/* @jsxRuntime classic */\n\n/* @jsx mdx */\nvar _frontmatter = {\n  \"title\": \"MailPace now supports webhooks\",\n  \"date\": \"2021-11-16T17:00:03.284Z\",\n  \"description\": \"We've added webhook support for emails\"\n};\nvar layoutProps = {\n  _frontmatter: _frontmatter\n};\nvar MDXLayout = \"wrapper\";\nreturn function MDXContent(_ref) {\n  var components = _ref.components,\n      props = _objectWithoutProperties(_ref, _excluded);\n\n  return mdx(MDXLayout, _extends({}, layoutProps, props, {\n    components: components,\n    mdxType: \"MDXLayout\"\n  }), mdx(\"p\", null, \"We\\u2019ve added a long-requested feature to our service: \"), mdx(\"p\", null, mdx(\"a\", {\n    parentName: \"p\",\n    \"href\": \"https://en.wikipedia.org/wiki/Webhook\"\n  }, \"Webhooks\")), mdx(\"h1\", null, \"What are Webhooks?\"), mdx(\"p\", null, \"Webhooks are HTTP requests automatically triggered by a service to an endpoint of your choice. You can use them to keep track of events and actions happening in an application or service, and they are crucial for integrating between applications online.\"), mdx(\"p\", null, \"Webhooks are typically sent as HTTP POST requests with a JSON body, and contain detailed information about the event that occurred.\"), mdx(\"h1\", null, \"What webhooks do you support?\"), mdx(\"p\", null, \"All of the email \", mdx(\"a\", {\n    parentName: \"p\",\n    \"href\": \"https://docs.mailpace.com/guide/lifecycle/\"\n  }, \"event lifecycle\"), \" statuses are supported. \"), mdx(\"h1\", null, \"How do I get setup?\"), mdx(\"p\", null, \"As a developer, you\\u2019ll need to setup an endpoint to listen to events from our API, and then you can enable the webhooks you want to monitor from the MailPace UI, in your Domain.\"), mdx(\"p\", null, \"For more details check out our Docs on webhooks over here: \", mdx(\"a\", {\n    parentName: \"p\",\n    \"href\": \"https://docs.mailpace.com/guide/webhooks\"\n  }, \"https://docs.mailpace.com/guide/webhooks\")), mdx(\"style\", {\n    \"className\": \"grvsc-styles\"\n  }, \"\\n  .grvsc-container {\\n    overflow: auto;\\n    -webkit-overflow-scrolling: touch;\\n    padding-top: 1rem;\\n    padding-top: var(--grvsc-padding-top, var(--grvsc-padding-v, 1rem));\\n    padding-bottom: 1rem;\\n    padding-bottom: var(--grvsc-padding-bottom, var(--grvsc-padding-v, 1rem));\\n    border-radius: 8px;\\n    border-radius: var(--grvsc-border-radius, 8px);\\n    font-feature-settings: normal;\\n  }\\n  \\n  .grvsc-code {\\n    display: inline-block;\\n    min-width: 100%;\\n  }\\n  \\n  .grvsc-line {\\n    display: inline-block;\\n    box-sizing: border-box;\\n    width: 100%;\\n    padding-left: 1.5rem;\\n    padding-left: var(--grvsc-padding-left, var(--grvsc-padding-h, 1.5rem));\\n    padding-right: 1.5rem;\\n    padding-right: var(--grvsc-padding-right, var(--grvsc-padding-h, 1.5rem));\\n  }\\n  \\n  .grvsc-line-highlighted {\\n    background-color: var(--grvsc-line-highlighted-background-color, transparent);\\n    box-shadow: inset var(--grvsc-line-highlighted-border-width, 4px) 0 0 0 var(--grvsc-line-highlighted-border-color, transparent);\\n  }\\n  \\n\"));\n}\n;\nMDXContent.isMDXComponent = true;","frontmatter":{"title":"MailPace now supports webhooks","date":"November 16, 2021","description":"We've added webhook support for emails"}}},"pageContext":{"slug":"/webhook-support/","previous":{"fields":{"slug":"/new-support-DMARC-List-Unsubscribe/"},"frontmatter":{"title":"MailPace now supports DMARC validation and List-Unsubscribe headers"}},"next":{"fields":{"slug":"/receive-inbound-emails-over-https/"},"frontmatter":{"title":"Moving Inbound emails out of Beta"}}}},"staticQueryHashes":["1956864136","63159454"]}