# Webhook
# Introduction
When we created content type we could config webhook into it.
In this section we will walkthrough the webhook process.
# Webhook Configuration
This section will show all configuration for webhook which attached to content types.
We could view configuration when we click view button.
We can also edit the webhook by clicking edit button.
And we can delete webhook config which we don't want anymore by clicking delete button.
# Webhook Recovery Process
# Introduction
When webhook process things that configure in webhook configuration. Sometimes it might not be succeed due to many reasons such as server error, incorrect endpoint etc. We can recover this scenario by doing the recovery process.
Here is the step to use recovery process.
# Prerequisite (Do this before using webhook)
- Configure client which must have scope [cms.ct.*], key same exactly like this, group name webhook, and we have to do this in globle which means not depends on specific project.
- Webhook Client must have scope [recovery.w]
- Create Recovery Content Type in project by clicking Initialize Recovery Button.
And it will become like this which means recovery content type have been created.
- Configure failedEndpoint to webhook
failedEndpoint to save recovery hook is : {url}/bifrost/api/webhook/projects/{projectId}/webhook-recoveries
# Flow of recovery process
- Webhook which process failed will be shown here in WAITING status.
- We can recover webhook which failed by clicking action then clicking Recover.
- Once it recovered the status of it will change to REPROCESSED.
- Or we can ignore it by clicking Ignore and the status will change to IGNORED.