> ## Documentation Index
> Fetch the complete documentation index at: https://docs.maesn.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create webhook

## Field support per integration

<AccordionGroup>
  <Note>
    The `callbackUrl` should be unique per end user to ensure that each received event can be clearly mapped back to the correct end user.
  </Note>

  <Accordion title="Business Central" icon={<svg width="24" height="24" viewBox="0 0 96 96" fill="none" xmlns="http://www.w3.org/2000/svg" transform="translate(-7,-4)"> <g clip-path="url(https://mintlify.s3.us-west-1.amazonaws.com/maesn/api-reference/webhooks#clip0)"> <mask id="mask0" mask-type="alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="96" height="96"> <path fill-rule="evenodd" clip-rule="evenodd" d="M0 48C0 52.2526 2.94943 55.8163 6.91426 56.7571C10.3435 72.9252 23.0749 85.6565 39.2429 89.0857C40.1837 93.0506 43.7474 96 48 96C52.2526 96 55.8163 93.0506 56.7571 89.0857C72.9251 85.6565 85.6565 72.9252 89.0857 56.7572C93.0505 55.8164 95.9999 52.2527 95.9999 48.0001C95.9999 43.7476 93.0506 40.1839 89.0858 39.243C85.6566 23.0749 72.9252 10.3435 56.7571 6.91426C55.8163 2.94943 52.2526 0 48 0C43.7474 0 40.1837 2.94943 39.2429 6.91426C23.0748 10.3435 10.3435 23.0749 6.91426 39.2429C2.94943 40.1837 0 43.7474 0 48Z" fill="#8DF7DB"/> </mask> <g mask="url(https://mintlify.s3.us-west-1.amazonaws.com/maesn/api-reference/webhooks#mask0)"> <circle cx="48" cy="48" r="48" fill="url(https://mintlify.s3.us-west-1.amazonaws.com/maesn/api-reference/webhooks#paint0_linear)"/> <path fill-rule="evenodd" clip-rule="evenodd" d="M52 17.0645C54.9634 15.5918 57 12.5337 57 9C57 4.02944 52.9706 0 48 0C43.0294 0 39 4.02944 39 9C39 12.5337 41.0365 15.5918 44 17.0645V23H52V17.0645Z" fill="#9DF3F9"/> <path fill-rule="evenodd" clip-rule="evenodd" d="M44 78.9355C41.0366 80.4082 39 83.4663 39 87C39 91.9706 43.0294 96 48 96C52.9706 96 57 91.9706 57 87C57 83.4663 54.9634 80.4082 52 78.9355L52 73L44 73L44 78.9355Z" fill="#82EBF1"/> <path fill-rule="evenodd" clip-rule="evenodd" d="M17.0645 44C15.5918 41.0366 12.5337 39 9 39C4.02944 39 -6.10673e-07 43.0294 -3.93402e-07 48C-1.76132e-07 52.9706 4.02944 57 9 57C12.5337 57 15.5918 54.9634 17.0645 52L23 52L23 44L17.0645 44Z" fill="#9DF3F9"/> <g filter="url(https://mintlify.s3.us-west-1.amazonaws.com/maesn/api-reference/webhooks#filter0_f)"> <circle cx="48" cy="50" r="26" fill="black" fill-opacity="0.32"/> <path fill-rule="evenodd" clip-rule="evenodd" d="M59.3172 54.0001C57.6698 58.6609 53.2249 62.0001 48 62.0001C41.3726 62.0001 36 56.6275 36 50.0001C36 43.3727 41.3726 38.0001 48 38.0001C53.2249 38.0001 57.6698 41.3394 59.3172 46.0001H80V54.0001H59.3172Z" fill="black" fill-opacity="0.32"/> <path d="M87 59.0001C82.0294 59.0001 78 54.9707 78 50.0001C78 45.0296 82.0294 41.0001 87 41.0001C91.9706 41.0001 96 45.0296 96 50.0001C96 54.9707 91.9706 59.0001 87 59.0001Z" fill="black" fill-opacity="0.32"/> </g> <g filter="url(https://mintlify.s3.us-west-1.amazonaws.com/maesn/api-reference/webhooks#filter1_f)"> <circle cx="48" cy="48.38" r="26" fill="black" fill-opacity="0.24"/> <path fill-rule="evenodd" clip-rule="evenodd" d="M59.3172 52.3801C57.6698 57.0409 53.2249 60.3801 48 60.3801C41.3726 60.3801 36 55.0075 36 48.3801C36 41.7527 41.3726 36.3801 48 36.3801C53.2249 36.3801 57.6698 39.7194 59.3172 44.3801H80V52.3801H59.3172Z" fill="black" fill-opacity="0.24"/> <path d="M87 57.3801C82.0294 57.3801 78 53.3507 78 48.3801C78 43.4096 82.0294 39.3801 87 39.3801C91.9706 39.3801 96 43.4096 96 48.3801C96 53.3507 91.9706 57.3801 87 57.3801Z" fill="black" fill-opacity="0.24"/> </g> <circle cx="48" cy="48" r="26" fill="url(https://mintlify.s3.us-west-1.amazonaws.com/maesn/api-reference/webhooks#paint1_linear)"/> <path fill-rule="evenodd" clip-rule="evenodd" d="M59.3172 52.0001C57.6698 56.6609 53.2249 60.0001 48 60.0001C41.3726 60.0001 36 54.6275 36 48.0001C36 41.3727 41.3726 36.0001 48 36.0001C53.2249 36.0001 57.6698 39.3394 59.3172 44.0001H80V52.0001H59.3172Z" fill="url(https://mintlify.s3.us-west-1.amazonaws.com/maesn/api-reference/webhooks#paint2_linear)"/> <path d="M87 57.0001C82.0294 57.0001 78 52.9707 78 48.0001C78 43.0296 82.0294 39.0001 87 39.0001C91.9706 39.0001 96 43.0296 96 48.0001C96 52.9707 91.9706 57.0001 87 57.0001Z" fill="url(https://mintlify.s3.us-west-1.amazonaws.com/maesn/api-reference/webhooks#paint3_linear)"/> </g> </g> <defs> <filter id="filter0_f" x="14" y="16" width="90" height="68" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"> <feFlood flood-opacity="0" result="BackgroundImageFix"/> <feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/> <feGaussianBlur stdDeviation="4" result="effect1_foregroundBlur"/> </filter> <filter id="filter1_f" x="21.24" y="21.62" width="75.52" height="53.52" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"> <feFlood flood-opacity="0" result="BackgroundImageFix"/> <feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/> <feGaussianBlur stdDeviation="0.38" result="effect1_foregroundBlur"/> </filter> <linearGradient id="paint0_linear" x1="22.7027" y1="11.3514" x2="72.6487" y2="84.6487" gradientUnits="userSpaceOnUse"> <stop stop-color="#009CA8"/> <stop offset="1" stop-color="#007D85"/> </linearGradient> <linearGradient id="paint1_linear" x1="31.7838" y1="26.2703" x2="66.1622" y2="83.3514" gradientUnits="userSpaceOnUse"> <stop stop-color="#36E3EE"/> <stop offset="1" stop-color="#00B1BE"/> </linearGradient> <linearGradient id="paint2_linear" x1="31.1352" y1="24" x2="75.2433" y2="63.5676" gradientUnits="userSpaceOnUse"> <stop stop-color="#D2F6F9"/> <stop offset="1" stop-color="#82EBF1"/> <stop offset="1" stop-color="#82EBF1"/> </linearGradient> <linearGradient id="paint3_linear" x1="96.9731" y1="50.919" x2="72.3244" y2="42.1622" gradientUnits="userSpaceOnUse"> <stop stop-color="#9AEEF3"/> <stop offset="1" stop-color="#82EBF1"/> </linearGradient> <clipPath id="clip0"> <rect width="96" height="96" fill="white"/></clipPath></defs></svg>}>
    <Note>
      If you're not using the [Interactive Authentication Flow](/authentication#interactive-authentication-flow), make sure the query parameters `environmentName` and `companyId` are correctly populated.
      You can obtain these values by using the `GET Environments` and `GET Companies` endpoints available under the Authentication section.
    </Note>

    Supported Request Parameters:

    <ResponseField name="callbackUrl" type="string" required />

    <ResponseField name="resource" type="enum" required>
      Available options:
      `ACCOUNT`, `CREDIT_NOTE`, `CUSTOMER`, `DIMENSION`, `EXPENSE`, `INVOICE`, `ITEM`, `JOURNAL_ENTRY`, `OFFER`, `SALES_ORDER`, `SUPPLIER`
    </ResponseField>
  </Accordion>

  <Accordion title="Exact Online" icon={<div dangerouslySetInnerHTML={{__html: `<svg width="24" height="24" viewBox="0 0 842 179" transform="translate(-7,-4)" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><path id="a" d="M.06.529h841.83V178.94H.06z"/></defs><g fill="none" fill-rule="evenodd"><mask id="b" fill="#fff"><use xlink:href="#a"/></mask><path fill="#D9252A" mask="url(https://mintlify.s3.us-west-1.amazonaws.com/maesn/api-reference/webhooks#b)" d="M112.97 58.348H0v33.794h128.574V58.348H112.97M111.616 116.693H0v33.794h16.958v-.001h94.658v.001h16.958v-33.794h-16.958M566.017 146.261h-50.69c-8.447 0-13.465-4.492-13.465-12.677 0-8.181 5.018-12.668 13.465-12.668h50.69v25.345zM542.521 29.045h-46.878v-.001h-20.734v33.791h20.734v-.001h44.761c20.032 0 25.448 7.694 25.603 25.346H513.74c-30.887 0-47.784 15.84-47.784 45.404 0 29.31 16.897 45.414 47.784 45.414h82.11l.032-.002h6.566v-92.13c0-39.079-14.785-57.821-59.927-57.821zM732.45 145.204h-42.503c-22.97 0-31.424-11.086-31.424-41.181 0-30.094 8.454-41.185 31.424-41.185h41.973l.065-.003h6.556V29.044h-52.293c-46.724 0-64.681 23.233-64.681 74.979 0 51.742 17.957 74.973 64.681 74.973h52.796v-33.791h-6.562l-.032-.001M269.888 145.205h-39.992c-19.092 0-27.963-6.758-30.417-23.753h59.03v.022h20.732v-6.021c.014-.2.026-.401.026-.609V94.253c0-.207-.012-.409-.026-.609v-5.961h-5.827a8.685 8.685 0 0 0-.747-.033h-73.324c2.254-17.607 11.101-24.815 30.553-24.815h60.194V29.044h-18.099v.003h-45.789c-46.733 0-64.677 23.228-64.677 74.973 0 51.741 17.944 74.979 64.677 74.979h57.819c.022 0 .043-.002.065-.003h6.535v-33.791h-20.733M835.286 145.205H805.98c-7.125 0-11.358-5.012-11.358-13.99v-68.38h44.091V29.047h-44.091V.529h-36.426v133.323c0 30.894 14.521 45.147 44.616 45.147h32.474l.066-.003h6.538v-33.791h-6.604M456.904 172.136l-53.323-70.381 49.893-65.848v-.001l5.199-6.862h-42.787l-3.597 4.749-.001.001-30.095 39.725-30.1-39.725-.001-.002-3.598-4.748h-44.367l55.879 73.758-57.729 76.197 14.575-.003h28.211l3.598-4.747.002-.002 32.737-43.209 32.738 43.209v.001l3.598 4.748h44.367l-5.199-6.86"/></g></svg>`,}}/>}>
    <Note>
      If you're not using the [Interactive Authentication Flow](/authentication#interactive-authentication-flow), make sure the query parameter `companyId` is correctly populated.
      You can obtain this value by using the `GET Companies` endpoint available under the Authentication section.
    </Note>

    Supported Request Parameters:

    <ResponseField name="callbackUrl" type="string" required />

    <ResponseField name="resource" type="enum" required>
      Available options:
      `ACCOUNT`, `BANK_ACCOUNT`, `BILL`, `CONTACT`, `EXPENSE`, `INVOICE`, `JOURNAL_ENTRY`, `PAYMENT`
    </ResponseField>
  </Accordion>

  <Accordion title="FreshBooks" icon={<svg height="24" viewBox=".99522558 .9999996 253.69877442 253.6940004" width="24" xmlns="http://www.w3.org/2000/svg" transform="translate(-7,-4)"><path d="m107.948 1a106.948 106.948 0 0 0 -106.948 106.966v146.728h146.727c59.067 0 106.955-47.88 106.967-106.948v-146.746zm86.724 43.635a34.6 34.6 0 0 1 -10.164 24.51 34.768 34.768 0 0 1 -24.562 10.152h-37.242v29.73h50.314v34.796h-50.065v71.663h-41.233v-179.891h40.983v32.625c1.072-18.32 16.275-32.625 34.668-32.625h37.358z" fill="#0075dd"/></svg>}>
    <Note>
      Ensure that the query parameter `_companyId_` is correctly filled with the account ID associated with the contact.
      This value can be retrieved by using the `GET Companies` endpoint in the Authentication section. Use the returned `id` as the value for `_companyId_`.
    </Note>

    Supported Request Parameters:

    <ResponseField name="callbackUrl" type="string" required />

    <ResponseField name="eventType" type="enum" required>
      Available options:
      `CREATED`, `DELETED`, `UPDATED`
    </ResponseField>

    <ResponseField name="resource" type="enum" required>
      Available options:
      `ACCOUNT`, `CREDIT_NOTE`, `CUSTOMER`, `INVOICE`, `ITEM`, `PAYMENT`, `SUPPLIER`, `TAX_RATE`
    </ResponseField>
  </Accordion>

  <Accordion title="Lexware Office" icon={<svg width="24" height="24" transform="translate(-7,-4)" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 476 476" enable-background="new 0 0 476 476" xml:space="preserve"> <path fill="#FFFFFF" opacity="1.000000" stroke="none" d=" M477.000000,189.000000 C477.000000,285.308167 477.000000,381.116333 477.000000,476.962250 C318.400177,476.962250 159.800308,476.962250 1.100232,476.962250 C1.100232,318.441864 1.100232,159.883652 1.100232,1.162721 C159.666534,1.162721 318.333252,1.162721 477.000000,1.162721 C477.000000,63.532967 477.000000,126.016479 477.000000,189.000000 M446.995667,21.494019 C432.466522,8.986734 415.185760,3.189814 396.446228,3.135990 C295.961365,2.847371 195.475250,2.979640 94.989624,3.042453 C87.891098,3.046890 80.777168,3.464551 73.697624,4.030548 C53.210831,5.668432 36.344028,14.396834 22.628456,29.766514 C9.308527,44.692833 3.199280,62.425301 3.139154,81.873207 C2.835702,180.024948 2.972577,278.178162 3.043210,376.330780 C3.049997,385.762329 3.313016,395.221771 4.069869,404.618896 C5.702843,424.894073 14.409182,441.637695 29.634809,455.248077 C44.828835,468.830139 62.862339,474.841370 82.692390,474.888306 C184.677277,475.129669 286.663025,475.014343 388.648468,474.958130 C393.747284,474.955292 398.849792,474.394135 403.943665,474.002869 C424.643127,472.412781 441.651276,463.655182 455.463043,448.128998 C468.627167,433.330902 474.791534,415.753876 474.852203,396.487854 C475.169250,295.836517 475.019653,195.183655 474.957428,94.531364 C474.953156,87.599487 474.517944,80.653847 473.973846,73.738945 C472.330414,52.852646 463.415985,35.624752 446.995667,21.494019 z"/> <path fill="#FF4554" opacity="1.000000" stroke="none" d=" M447.251953,21.749489 C463.415985,35.624752 472.330414,52.852646 473.973846,73.738945 C474.517944,80.653847 474.953156,87.599487 474.957428,94.531364 C475.019653,195.183655 475.169250,295.836517 474.852203,396.487854 C474.791534,415.753876 468.627167,433.330902 455.463043,448.128998 C441.651276,463.655182 424.643127,472.412781 403.943665,474.002869 C398.849792,474.394135 393.747284,474.955292 388.648468,474.958130 C286.663025,475.014343 184.677277,475.129669 82.692390,474.888306 C62.862339,474.841370 44.828835,468.830139 29.634809,455.248077 C14.409182,441.637695 5.702843,424.894073 4.069869,404.618896 C3.313016,395.221771 3.049997,385.762329 3.043210,376.330780 C2.972577,278.178162 2.835702,180.024948 3.139154,81.873207 C3.199280,62.425301 9.308527,44.692833 22.628456,29.766514 C36.344028,14.396834 53.210831,5.668432 73.697624,4.030548 C80.777168,3.464551 87.891098,3.046890 94.989624,3.042453 C195.475250,2.979640 295.961365,2.847371 396.446228,3.135990 C415.185760,3.189814 432.466522,8.986734 447.251953,21.749489 M245.830063,196.670471 C229.240814,176.236420 212.603531,155.840958 196.125214,135.317841 C194.140945,132.846481 192.173462,131.909119 189.025299,131.925995 C164.531158,132.057373 140.035980,131.998642 115.541115,131.998672 C114.312561,131.998672 113.084007,131.998657 110.948524,131.998657 C140.137726,168.006500 168.637009,203.163269 197.279678,238.496902 C168.580673,273.907013 140.030655,309.133270 110.960907,345.000824 C138.221222,345.000824 164.377075,345.057922 190.531189,344.872437 C192.276718,344.860077 194.487534,343.400391 195.675735,341.952362 C212.476944,321.476807 229.147781,300.894135 245.830566,280.321533 C257.047455,266.489288 268.233368,252.631958 279.667694,238.495834 C268.439850,224.630234 257.348236,210.932877 245.830063,196.670471 M321.500000,131.997894 C310.669128,131.997894 299.835327,132.140366 289.009125,131.915695 C285.521240,131.843307 283.174988,132.786209 280.975769,135.572678 C271.688568,147.339783 262.272736,159.009521 252.678162,170.526764 C250.478699,173.166977 250.711716,174.762390 252.776138,177.243301 C261.405884,187.614075 269.824463,198.160416 278.333435,208.631821 C282.506378,213.767136 286.707794,218.879288 291.182983,224.352509 C316.193787,193.499420 340.854492,163.078232 366.049530,131.997894 C350.801788,131.997894 336.650909,131.997894 321.500000,131.997894 M281.165253,341.494324 C282.854797,344.413147 285.376343,345.092468 288.683350,345.074127 C312.820404,344.940186 336.958496,345.006805 361.096283,344.989197 C362.464722,344.988190 363.833038,344.803009 365.791565,344.660614 C340.728668,313.754456 316.129791,283.420532 291.373047,252.891907 C290.647675,253.558655 290.119812,253.936844 289.724365,254.422806 C277.225006,269.783569 264.790314,285.197479 252.198013,300.481567 C250.158096,302.957520 251.066422,304.396515 252.713669,306.404053 C262.108368,317.853607 271.392456,329.393951 281.165253,341.494324 z"/> <path fill="#FFFEFE" opacity="1.000000" stroke="none" d=" M246.043335,196.953003 C257.348236,210.932877 268.439850,224.630234 279.667694,238.495834 C268.233368,252.631958 257.047455,266.489288 245.830566,280.321533 C229.147781,300.894135 212.476944,321.476807 195.675735,341.952362 C194.487534,343.400391 192.276718,344.860077 190.531189,344.872437 C164.377075,345.057922 138.221222,345.000824 110.960907,345.000824 C140.030655,309.133270 168.580673,273.907013 197.279678,238.496902 C168.637009,203.163269 140.137726,168.006500 110.948524,131.998657 C113.084007,131.998657 114.312561,131.998672 115.541115,131.998672 C140.035980,131.998642 164.531158,132.057373 189.025299,131.925995 C192.173462,131.909119 194.140945,132.846481 196.125214,135.317841 C212.603531,155.840958 229.240814,176.236420 246.043335,196.953003 z"/> <path fill="#FFFEFE" opacity="1.000000" stroke="none" d=" M322.000000,131.997894 C336.650909,131.997894 350.801788,131.997894 366.049530,131.997894 C340.854492,163.078232 316.193787,193.499420 291.182983,224.352509 C286.707794,218.879288 282.506378,213.767136 278.333435,208.631821 C269.824463,198.160416 261.405884,187.614075 252.776138,177.243301 C250.711716,174.762390 250.478699,173.166977 252.678162,170.526764 C262.272736,159.009521 271.688568,147.339783 280.975769,135.572678 C283.174988,132.786209 285.521240,131.843307 289.009125,131.915695 C299.835327,132.140366 310.669128,131.997894 322.000000,131.997894 z"/> <path fill="#FFFEFE" opacity="1.000000" stroke="none" d=" M280.939697,341.198853 C271.392456,329.393951 262.108368,317.853607 252.713669,306.404053 C251.066422,304.396515 250.158096,302.957520 252.198013,300.481567 C264.790314,285.197479 277.225006,269.783569 289.724365,254.422806 C290.119812,253.936844 290.647675,253.558655 291.373047,252.891907 C316.129791,283.420532 340.728668,313.754456 365.791565,344.660614 C363.833038,344.803009 362.464722,344.988190 361.096283,344.989197 C336.958496,345.006805 312.820404,344.940186 288.683350,345.074127 C285.376343,345.092468 282.854797,344.413147 280.939697,341.198853 z"/></svg>}>
    Supported Request Parameters:

    <ResponseField name="callbackUrl" type="string" required />

    <ResponseField name="eventType" type="enum" required>
      Available options:
      `CREATED`, `DELETED`, `REVOKED`, `UPDATED`
    </ResponseField>

    <ResponseField name="resource" type="enum" required>
      Available options:
      `CUSTOMER`, `INVOICE`, `ITEM`, `PAYMENT`, `SUPPLIER`, `TOKEN`
    </ResponseField>
  </Accordion>

  <Accordion title="Moneybird" icon={<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" height="18" width="22"><rect width="512" height="512" rx="15%" fill="#0075dd"/><path fill="#fff" d="M168 154c-26-2-63-11-83-20-11 73 10 118 37 141-3 64 64 122 138 122 69 0 134-44 143-116 0 0 27-6 27-18 0-13-25-17-27-18-10-65-58-91-118-91H191c-13 0-26 0-39-1zm181 60a18 18 0 1 1 0 36 18 18 0 0 1 0-36z"/></svg>}>
    <Note>
      If you're not using the [Interactive Authentication Flow](/authentication#interactive-authentication-flow), make sure the query parameter `companyId` is correctly populated.
      You can obtain this value by using the `GET Companies` endpoint available under the Authentication section.
    </Note>

    Supported Request Parameters:

    <ResponseField name="callbackUrl" type="string" required />

    <ResponseField name="eventType" type="enum" required>
      Available options:
      `CREATED`, `DELETED`, `UPDATED`
    </ResponseField>

    <ResponseField name="resource" type="enum" required>
      Available options:
      `CONTACT`, `INVOICE`, `PAYMENT`, `TAX_RATE`
    </ResponseField>
  </Accordion>

  <Accordion title="Qonto" icon={<svg width="80" height="50" viewBox="200 500 2900 1750"> <g transform="scale(0.14, -0.14) translate(0, -10000)"><path d="M1990 6372 c0 -25 29 -217 40 -267 23 -101 83 -262 138 -370 217 -425 615 -740 1072 -848 121 -29 171 -37 230 -37 l60 0 0 33 c0 50 -31 216 -58 317 -96 353 -351 704 -668 919 -63 42 -253 143 -289 153 -11 3 -51 17 -88 31 -90 34 -170 53 -296 72 -133 19 -141 19 -141 -3z"/><path d="M5110 6375 c-94 -15 -203 -40 -265 -60 -270 -89 -526 -255 -709 -460 -224 -252 -356 -532 -411 -872 -23 -140 -25 -133 44 -133 104 0 360 62 481 116 324 146 539 325 728 604 89 132 154 270 208 440 27 85 64 285 64 342 0 44 0 44 -140 23z"/><path d="M3375 4659 c-373 -68 -668 -221 -917 -475 -43 -44 -98 -106 -123 -139 -24 -33 -49 -65 -54 -71 -58 -70 -169 -297 -216 -439 -31 -94 -73 -315 -75 -387 0 -23 41 -23 160 -4 416 69 765 272 1024 596 104 129 161 225 239 400 23 51 73 207 86 265 6 28 15 71 21 97 5 26 10 74 10 107 l0 61 -52 -1 c-29 -1 -75 -5 -103 -10z"/><path d="M3710 4648 c0 -32 25 -180 45 -263 105 -455 429 -871 841 -1078 104 -53 170 -80 274 -113 82 -26 288 -64 344 -64 35 0 36 1 36 36 0 53 -38 259 -61 334 -141 457 -446 814 -869 1017 -169 81 -432 153 -560 153 -45 0 -50 -2 -50 -22z"/><path d="M1830 2227 c-105 -32 -174 -72 -247 -145 -203 -203 -244 -515 -104 -789 65 -129 222 -248 377 -287 67 -17 233 -21 280 -7 16 5 49 15 74 22 25 7 60 21 78 31 l33 18 82 -39 c88 -42 175 -68 199 -58 26 10 40 164 16 171 -7 3 -34 10 -59 17 -26 7 -55 18 -64 25 -16 12 -15 17 21 70 21 32 51 92 67 133 26 65 30 93 34 196 4 90 1 138 -11 190 -52 220 -218 397 -426 454 -104 29 -248 28 -350 -2z m300 -169 c59 -18 104 -44 158 -93 95 -85 142 -200 142 -344 0 -92 -14 -152 -56 -237 -42 -86 -49 -87 -104 -26 -26 29 -69 91 -95 138 -26 46 -51 87 -55 89 -7 5 -35 -6 -132 -48 -16 -7 -28 -18 -28 -25 0 -33 101 -194 174 -276 14 -16 26 -33 26 -37 0 -18 -81 -31 -171 -27 -115 4 -182 32 -262 107 -96 91 -137 192 -137 341 0 146 34 233 127 331 105 110 265 151 413 107z"/><path d="M4466 2055 c-10 -26 -7 -743 3 -812 17 -118 76 -210 162 -253 29 -15 58 -20 123 -20 46 0 91 3 100 6 13 5 16 23 16 89 l0 83 -68 -1 c-83 -1 -129 21 -155 76 -15 33 -17 63 -15 240 l3 202 118 3 118 3 -3 82 -3 82 -115 5 -115 5 -5 110 -5 110 -76 3 c-63 2 -78 0 -83 -13z"/><path d="M3020 1839 c-213 -58 -357 -284 -319 -505 29 -172 140 -300 308 -353 59 -19 214 -14 283 10 98 33 177 96 230 184 41 69 53 122 52 240 0 101 -3 115 -31 175 -78 167 -225 261 -407 259 -45 0 -97 -5 -116 -10z m228 -192 c53 -24 96 -66 124 -121 32 -60 31 -185 -1 -241 -55 -96 -127 -138 -236 -139 -80 0 -130 21 -181 76 -56 59 -69 94 -69 188 0 75 3 91 27 131 73 124 207 166 336 106z"/><path d="M5226 1829 c-184 -63 -296 -224 -296 -424 0 -196 103 -347 283 -414 82 -30 232 -30 314 0 127 47 215 136 262 262 30 81 29 218 -2 304 -44 126 -144 226 -270 270 -83 30 -208 31 -291 2z m250 -179 c126 -54 188 -213 134 -345 -41 -102 -128 -158 -245 -158 -106 -1 -188 53 -232 151 -99 224 119 448 343 352z"/><path d="M3647 1813 c-4 -3 -7 -195 -7 -425 l0 -418 85 0 85 0 0 251 c0 152 4 268 11 295 43 169 314 196 388 38 20 -41 21 -62 21 -314 l0 -271 88 3 87 3 3 250 c3 264 -4 335 -40 413 -28 58 -91 119 -158 151 -47 22 -69 26 -150 26 -90 0 -99 -2 -166 -37 -40 -20 -75 -34 -78 -31 -3 4 -6 21 -6 40 l0 33 -78 0 c-43 0 -82 -3 -85 -7z"/></g></svg>}>
    Supported Request Parameters:

    <ResponseField name="callbackUrl" type="string" required />

    <ResponseField name="resource" type="enum" required>
      Available options:
      `INVOICE`
    </ResponseField>
  </Accordion>

  <Accordion title="QuickBooks" icon={<svg fill="none" width="24" height="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 128" transform="translate(-7,-4)"><path d="M64 128c35.346 0 64-28.654 64-64S99.346 0 64 0 0 28.654 0 64s28.654 64 64 64z" fill="#2ca01c"/><path d="M17.778 64a24.889 24.889 0 0 0 24.889 24.889h3.555v-9.245h-3.555a15.645 15.645 0 1 1 0-31.289H51.2v48.356a9.248 9.248 0 0 0 9.244 9.245V39.111H42.667A24.889 24.889 0 0 0 17.777 64zm67.555-24.889h-3.555v9.245h3.555a15.645 15.645 0 0 1 0 31.288H76.8V31.29a9.244 9.244 0 0 0-9.244-9.245V88.89h17.777a24.888 24.888 0 0 0 0-49.778z" fill="#fff"/></svg>}>
    Supported Request Parameters:

    <ResponseField name="callbackUrl" type="string" required />
  </Accordion>

  <Accordion title="weclapp" icon={<svg width="24" height="24" viewBox="0 0 150 150" transform="translate(-7, -4)" fill="none" xmlns="http://www.w3.org/2000/svg"> <path fill="none" d="M0,0H150V150H0V0Z"/><g><path fill="#12da9d" d="M44.89,32.82l-9.81,64.58c-.36,11.47-16.99,11.46-17.34,0h0L8.15,32.82c-1.68-5.73,2.72-11.72,8.67-11.87h19.4c5.97,.14,10.34,6.15,8.67,11.87Z"/><path fill="#12da9d" d="M141.88,32.82l-9.58,64.58c-1.6,10.04-16.2,9.81-17.34,0l-9.81-64.58c-1.68-5.73,2.72-11.72,8.67-11.87h19.4c5.97,.14,10.34,6.15,8.67,11.87Z"/><path fill="#12da9d" d="M56.53,122.28l9.81-64.81c1.6-9.81,16.2-9.58,17.34,0l9.81,64.81c1.32,5.72-3.04,11.41-8.9,11.64h-19.17c-5.87-.22-10.21-5.92-8.9-11.64Z"/></g></svg>}>
    Supported Request Parameters:

    <ResponseField name="callbackUrl" type="string" required />

    <ResponseField name="eventType" type="enum">
      Available options:
      `CREATED`, `DELETED`, `UPDATED`
    </ResponseField>

    <ResponseField name="resource" type="enum">
      Available options:
      `CUSTOMER`, `CREDIT_NOTE`, `INVOICE`, `SALES_ORDER`, `SUPPLIER`
    </ResponseField>
  </Accordion>

  <Accordion title="Xero" icon={<svg width="24" height="24" viewBox="0 0 45 46" xmlns="http://www.w3.org/2000/svg" transform="translate(-7,-4)"><path fill="#13B5EA" d="M22.457 45.49c12.402 0 22.456-10.072 22.456-22.495C44.913 10.57 34.86.5 22.457.5 10.054.5 0 10.57 0 22.995 0 35.418 10.054 45.49 22.457 45.49"/><path class="logo-xero-blue__text" fill="#fff" d="M10.75 22.935l3.832-3.85a.688.688 0 0 0-.977-.965l-3.83 3.833-3.845-3.84a.687.687 0 0 0-.966.979l3.832 3.837-3.83 3.84a.688.688 0 1 0 .964.981l3.84-3.842 3.825 3.827a.685.685 0 0 0 1.184-.473.68.68 0 0 0-.2-.485l-3.83-3.846m22.782.003c0 .69.56 1.25 1.25 1.25a1.25 1.25 0 0 0-.001-2.5c-.687 0-1.246.56-1.246 1.25m-2.368 0c0-1.995 1.62-3.62 3.614-3.62 1.99 0 3.613 1.625 3.613 3.62s-1.622 3.62-3.613 3.62a3.62 3.62 0 0 1-3.614-3.62m-1.422 0c0 2.78 2.26 5.044 5.036 5.044s5.036-2.262 5.036-5.043c0-2.78-2.26-5.044-5.036-5.044a5.046 5.046 0 0 0-5.036 5.044m-.357-4.958h-.21c-.635 0-1.247.2-1.758.595a.696.696 0 0 0-.674-.54.68.68 0 0 0-.68.684l.002 8.495a.687.687 0 0 0 1.372-.002v-5.224c0-1.74.16-2.444 1.648-2.63.14-.017.288-.014.29-.014.406-.015.696-.296.696-.675a.69.69 0 0 0-.69-.688m-13.182 4.127c0-.02.002-.04.003-.058a3.637 3.637 0 0 1 7.065.055H16.2zm8.473-.13c-.296-1.403-1.063-2.556-2.23-3.296a5.064 5.064 0 0 0-5.61.15 5.098 5.098 0 0 0-1.973 5.357 5.08 5.08 0 0 0 4.274 3.767c.608.074 1.2.04 1.81-.12a4.965 4.965 0 0 0 1.506-.644c.487-.313.894-.727 1.29-1.222.006-.01.014-.017.022-.027.274-.34.223-.826-.077-1.056-.254-.195-.68-.274-1.014.156-.072.104-.153.21-.24.315-.267.295-.598.58-.994.802-.506.27-1.08.423-1.69.427-1.998-.023-3.066-1.42-3.447-2.416a3.716 3.716 0 0 1-.153-.58l-.01-.105h7.17c.982-.022 1.51-.717 1.364-1.51z"/></svg>}>
    Supported Request Parameters:

    <ResponseField name="callbackUrl" type="string" required />
  </Accordion>
</AccordionGroup>


## OpenAPI

````yaml post /webhooks
openapi: 3.0.0
info:
  title: Maesn unified API
  description: The Maesn unified API description
  version: '1.0'
  contact: {}
servers:
  - url: https://api.maesn.dev
security: []
tags:
  - name: maesn
    description: ''
paths:
  /webhooks:
    post:
      tags:
        - webhook
      operationId: createWebhook
      parameters:
        - name: X-API-KEY
          description: API key
          in: header
          schema:
            type: string
          required: true
        - name: X-ACCOUNT-KEY
          description: Account key
          in: header
          schema:
            type: string
          required: true
        - name: companyId
          required: false
          in: query
          schema:
            type: string
        - name: environmentName
          in: query
          schema:
            type: string
          required: false
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateWebhookRequestDto'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/BaseResponseDto'
                  - properties:
                      data:
                        $ref: '#/components/schemas/WebhookResponseDtoWithSecret'
components:
  schemas:
    CreateWebhookRequestDto:
      type: object
      properties:
        callbackUrl:
          type: string
          example: https://example.com/webhook-endpoint/12345
        eventType:
          type: string
          enum:
            - ACCOUNT
            - BANK_ACCOUNT
            - BILL
            - CONTACT
            - CREDIT_NOTE
            - CUSTOMER
            - DIMENSION
            - EXPENSE
            - INVOICE
            - ITEM
            - JOURNAL_ENTRY
            - OFFER
            - PAYMENT
            - SALES_ORDER
            - SUPPLIER
            - TAX_RATE
            - TOKEN
        resource:
          type: string
          enum:
            - CREATED
            - DELETED
            - REVOKED
            - UPDATED
    BaseResponseDto:
      type: object
      properties:
        meta:
          $ref: '#/components/schemas/MetaResponse'
        data:
          oneOf:
            - type: object
            - type: array
    WebhookResponseDtoWithSecret:
      type: object
      properties:
        id:
          type: string
          example: 94fdb7fd-13ae-47a6-8a2a-000e6ddc60d9
        callbackUrl:
          type: string
          example: https://example.com/webhook-endpoint/12345
        createdDate:
          type: string
          example: '2025-06-01T00:00:00Z'
        expiresDate:
          type: string
          example: '2026-06-01T00:00:00Z'
        secret:
          type: string
          example: 0f9cfb7fe655d00547fa0720ed4fa1777d6ad1a8e3f94c3b16991e7ceaa5a59c
        updatedDate:
          type: string
          example: '2025-06-01T00:00:00Z'
    MetaResponse:
      type: object
      properties:
        warnings:
          type: array
          items:
            type: string
            example: Field not used by target system
        pagination:
          $ref: '#/components/schemas/PaginationResponse'
    PaginationResponse:
      type: object
      properties:
        total:
          type: number
          example: 125
        perPage:
          type: number
          example: 50
        currentPage:
          type: number
          example: 1
        totalPages:
          type: number
          example: 3

````