Full guide on Nimbel
If you want to maintain your posts in dev.to and your blog sync, you'll need a webhook. You must create a new webhook to respond the events of article_created
and/or article_updated
.
Add your API_KEY
to check the current created webhooks
curl -H "api-key: API_KEY" https://dev.to/api/webhooks
Add your API_KEY
and the TARGET_URL
of the container which listens for new builds.
curl -X POST -H "Content-Type: application/json" \
-H "api-key: API_KEY" \
-d '{"webhook_endpoint":{"target_url":"TARGET_URL","source":"DEV","events":["article_created", "article_updated"]}}' \
https://dev.to/api/webhooks
Add your API_KEY
and the ID
of the webhook you want to delete.
curl -X DELETE \
-H "api-key: API_KEY" \
https://dev.to/api/webhooks/ID