Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.
First time visiting? Here are some places to start:- Looking for a certain topic? Check out the categories filter or use Search (upper right).
- Need support? Ask a question to our Community Support category.
- Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
- Be respectful, on topic and if you see a problem, Flag it.
If you would like to contact our Community Manager personally, feel free to send a private message or an email.
I am new to Onshape, can someone guide me on how to setup webhooks?
Yatiraj_Chakre
Member Posts: 6 ✭
We are integrating Onshape and Propel using Jitterbit(its a middleware like mulesoft). Our requirement is when a document is changed, we want the drawing json data to be sent to API endpoint which is exposed by Jitterbit, then Jitterbit updates this data in Propel. It looks that a webhook can send data to an endpoint but its not clear on how to setup webhooks in ohshape.
0
Answers
https://onshape-public.github.io/docs/app-dev/webhook/
First step is to register a webhook:
https://cad.onshape.com/glassworks/explorer/#/Webhook/createWebhook
Custom FeatureScript and Onshape Integrated Applications
Create webhook Request -
Create webhook Response -
Onshape validation call (does not show documentid)-
"jsonType" : "lifecycle",
"event" : "webhook.register",
"messageId" : "dummyvalue",
"timestamp" : "dummyvalue",
"webhookId" : "dummyvalue"
}
Custom FeatureScript and Onshape Integrated Applications