Get all User Webhooks
GET/api/v2/public/webhooks/user
Retrieves a list of all existing user webhooks.
Request
Responses
- 201
- 401
- 403
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
data object[]
id stringrequired
If of the Webhook
url stringrequired
Url of the Webhook
events string[]required
Possible values: [all
, facility.user-connection.accepted
, facility.user-connection.rejected
, facility.creation.accepted
, facility.creation.rejected
]
List of events that this webhook will listen to
clientId stringrequired
secrets string[]required
List of webhook secrets
{
"data": [
{
"id": "fb656bc5-8ed0-40ee-ae42-66dd8549a2bb",
"url": "https://exemple.com/webhook",
"events": [
"facility.creation.accepted",
"facility.user-connection.accepted"
],
"clientId": "string",
"secrets": [
"sDV1aKqitCLClI12m7UPFbAAvZfZquJw",
"mryefgHPBVHJwux0o3BYW7hPM0BZlcCa"
]
}
]
}
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
message string
Error description
statusCode integer
Status code of the error
{
"message": "Unauthorized",
"statusCode": 401
}
Forbidden
- application/json
- Schema
- Example (from schema)
Schema
message string
Error description
error string
The type of error
statusCode integer
Status code of the error
{
"message": "Forbidden Resource",
"error": "Forbidden",
"statusCode": 403
}
Loading...