Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Webhooks.md #782

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions guides/Webhooks.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
# Webhooks
When you [register for webhooks](https://devforum.wix.com/en/article/about-webhooks#register-for-webhooks) in the Wix Developers Center, and you’ve configured your OAuth and Permissions settings correctly, Wix will send an HTTPS POST request to your server URL with the relevant data when an event occurs.
When you [register for webhooks](https://dev.wix.com/docs/build-apps/developer-tools/apis-and-webhooks/webhooks) in the Wix Developers Center, and you’ve configured your OAuth and Permissions settings correctly, Wix will send an HTTPS POST request to your server URL with the relevant data when an event occurs.

The event’s data is included in the body of the request as a [JSON Web Token (JWT)](https://jwt.io/introduction/).
The data received will vary by the type of event, but the following will always be included:
* **instanceId**: The App Instance ID. This is the unique identifier of the app within the website.
* **eventType**: A description of the event type, e.g., OrderEvent.

> Important:
> Important:
>
> You must return a 200 response upon successful receipt of a webhook. The timeout for the response is 1250 ms. Additional attempts to send the request are made after a timeout as described in this <a href="https://devforum.wix.com/kb/en/article/about-webhooks#resend-policy">article</a>.