Register a webhook
POST/v1/partner/webhook
Registers a webhook for your API account, enabling you to receive event notifications at the specified callback URL.
Request​
- application/json
Body
required
callback_url Callback Url (string)required
events undefined[]required
Responses​
- 200
- 422
Successful Response
- application/json
- Schema
Schema
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...