Get Webhook
Credit
Profile
Leaderboard
Webhook
Webhook Secret
Get Webhook
Show an existing webhook
GET
/
webhook
/
{id}
curl --request GET \
--url https://api.openformat.tech/v1/webhook/{id} \
--header 'X-API-KEY: <api-key>'
{
"status": "success",
"webhook": {
"id": 123,
"url": "https://api.example.com/webhook",
"events": [
"transaction"
],
"disabled": true,
"disabled_at": "2024-01-23 01:23:45.55338+00",
"created_at": "2024-01-23 01:23:45.55338+00"
}
}
{
"status": "success",
"webhook": {
"id": 123,
"url": "https://api.example.com/webhook",
"events": [
"transaction"
],
"disabled": true,
"disabled_at": "2024-01-23 01:23:45.55338+00",
"created_at": "2024-01-23 01:23:45.55338+00"
}
}
Authorizations
Path Parameters
Webhook id
Example:
"123"
Response
200
application/json
Webhook data
Successful reponse status
Available options:
success
Example:
"success"
The webhook data
Webhook id
Example:
123
Webhook URL
Example:
"https://api.example.com/webhook"
List of events that will trigger this webhook
Event name
Example:
["transaction"]
Whether this webhook is disabled
Example:
true
Datetime this webhook was disabled
Example:
"2024-01-23 01:23:45.55338+00"
Datetime this webhook was created
Example:
"2024-01-23 01:23:45.55338+00"
curl --request GET \
--url https://api.openformat.tech/v1/webhook/{id} \
--header 'X-API-KEY: <api-key>'
{
"status": "success",
"webhook": {
"id": 123,
"url": "https://api.example.com/webhook",
"events": [
"transaction"
],
"disabled": true,
"disabled_at": "2024-01-23 01:23:45.55338+00",
"created_at": "2024-01-23 01:23:45.55338+00"
}
}