Update Webhook
PUT/v1/webhook/update
This endpoint updates webhook
Request
- application/json
Body
required
Webhook Update Payload
event stringrequired
Possible values: [EMAIL_EVENT, DOMAIN_VERIFICATION]
headers
object
property name* string
method string
Possible values: [GET, POST, PUT, DELETE, PATCH]
webhook_options
object
events
object
bounce boolean
click boolean
delivery boolean
generation_failure boolean
generation_rejection boolean
open boolean
policy_rejection boolean
spam boolean
unsubscribe boolean
webhook_url string
Responses
- 200
- 404
- 409
- 422
webhook updated
- application/json
- Schema
- Example (from schema)
Schema
message string
success boolean
{
"message": "webhook created",
"success": true
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
error string
success boolean
{
"error": "string",
"success": false
}
Conflict Webhook Not Found
- application/json
- Schema
- Example (from schema)
Schema
error string
success boolean
{
"error": "string",
"success": false
}
Unprocessable Entity Not able to connect to the provided url
- application/json
- Schema
- Example (from schema)
Schema
error string
success boolean
{
"error": "string",
"success": false
}
Loading...