Retrieve a Webhook Subscription
GET/v1/webhook-subscriptions/:id
Retrieve a Webhook Subscription
Request​
Path Parameters
Id of the Webhook Subscription.
Responses​
- 200
- 401
- 403
- 404
Successfully retrieves a Webhook Subscription
- application/json
- Schema
- Example (from schema)
Schema
data
object
webhooksubscription_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Possible values: [validation_request.approved
, validation_request.rejected
, agent_verification.pending_review
, agent_verification.pending_user_verification
, agent_verification.approved
, agent_verification.rejected
, monitoring_subscription.updated
, eligibility_subscription.updated
, validation_submission.created
, validation_submission.succeeded
, validation_submission.failed
, validation_submission.updated
, donation.hosted.payment_received
, donation.created
, donation.settled
, donation.disbursed
, donation.payment_successful
, donation.cancelled
, donation.reassigned
]
https://example.com/my-webhook-handler
webhook_subscription
{
"data": {
"id": "webhooksubscription_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"events": [
"validation_request.approved"
],
"url": "https://example.com/my-webhook-handler",
"secret": "string",
"createdAt": "2024-07-29T15:51:28.071Z",
"updatedAt": "2024-07-29T15:51:28.071Z",
"deletedAt": "2024-07-29T15:51:28.071Z"
},
"object": "webhook_subscription"
}
Unauthorized
Forbidden (scope)
- application/json
- Schema
- Example (from schema)
Schema
error
object
forbidden
Forbidden
Access is denied due to missing scope permissions
{
"error": {
"code": "forbidden",
"title": "Forbidden",
"message": "Access is denied due to missing scope permissions"
}
}
The specified resource was not found
- application/json
- Schema
- Example (from schema)
Schema
error
object
not_found
Resource not found
This endpoint is unavailable or can not be found
{
"error": {
"code": "not_found",
"title": "Resource not found",
"message": "This endpoint is unavailable or can not be found"
}
}