DEV Community

loading...

Dev.to api webhook

thefierycoder profile image Rishi Purwar ・1 min read

I want to know How to add a webhook to dev.to using dev.to api and webhook will trigger only when a new blog is created?
Anyone has any idea?

Discussion (3)

pic
Editor guide
Collapse
victoravelar profile image
Victor Hugo Avelar

Hi! you can do that via the dev.to (forem) API

Collapse
thefierycoder profile image
Rishi Purwar Author • Edited

Thanks for your response.
What should I pass in target url?
Could you show me the example request?

Collapse
victoravelar profile image
Victor Hugo Avelar • Edited

In the API docs you can copy the curl sample.