Update existing webhook
PATCH/v1/partner/webhook
Updates a webhook to add more events to listen to.
Accepts the following events: BOOKING_CREATED BOOKING_RESCHEDULED BOOKING_CANCELLED PAPERWORK_UPDATED PAPERWORK_COMPLETED.
Request​
- application/json
Body
required
events undefined[]required
Responses​
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
active Active (boolean)required
events
object
required
subscribed string[]required
unsubscribed string[]required
{
"active": true,
"events": {
"subscribed": [
"string"
],
"unsubscribed": [
"string"
]
}
}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detail
object[]
loc
object[]
required
anyOf
string
integer
msg Message (string)required
type Error Type (string)required
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}
Loading...