Navigation

    • Login
    • Search
    • [[global:header.categories]]
    • [[global:header.recent]]
    • [[global:header.popular]]
    • MyVR.com

    SOLVED WebHooks Request how is it looks like?

    Other
    3
    5
    4668
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      Sebastian K last edited by

      Hello,

      Currently I am working on WebHooks,
      but from the documentation I can not get information how to get informations about Event
      How they are sent? Inside HTTP Headers or query params ? I know that not in JSON body object.

      Best regards
      Sebastian Karasiewicz

      1 Reply Last reply Reply Quote 0
      • Mike Stachowiak
        Mike Stachowiak MyVR Employee last edited by

        Hey Sebastian,

        This is a great question, and one that our API documentation does a poor job of answering currently. Thanks for bringing this to our attention. I’ll update our API documentation to answer this and I’ll also include the answer here.

        Technically, for a webhook, we’ll make an HTTP POST to your webhook url and include a JSON serialized version of the object in the body of the POST. We’ll include the type of event as a header named Event in the HTTP POST.

        I believe this is the information you are after, but let me know if I’m misinterpreting your question.

        Cheers,
        Mike

        1 Reply Last reply Reply Quote 0
        • S
          Sebastian K last edited by

          Hey Mike,

          Thank you for your clarifications and fast reaction!
          Now I can see that Event Header 🙂

          Topic solved

          1 Reply Last reply Reply Quote 0
          • Mike Stachowiak
            Mike Stachowiak MyVR Employee last edited by

            Great, glad we were able to solve that one. Let me know if there is anything else I can answer.

            1 Reply Last reply Reply Quote 0
            • Steven Talbott 0
              Steven Talbott 0 last edited by

              @Mike-Stachowiak,

              Is it possible to subscribe only to specific events or do you guys push all events to all webhooks we setup under Settings > API Access > Webhooks. I see these event types and curious what they are used for?

              0_1574805792216_0cb2eba4-7569-48c1-8551-9d3ebb2e8ddd-image.png.

              Thanks for your help!
              Steven

              1 Reply Last reply Reply Quote 0
              • First post
                Last post

              About the MyVR Community

              • Getting Started
              • Community Rules
              • Best Practices
              Copyright © 2016 - 2020 MyVR | Contact Us
              Admin Login | Logout