Webhook
List Webhooks
Credit
Profile
Leaderboard
Webhook
Webhook Secret
Webhook
List Webhooks
Show all user webhooks
GET
/
webhook
curl --request GET \
--url https://api.openformat.tech/v1/webhook \
--header 'X-API-KEY: <api-key>'
{
"status": "success",
"webhooks": [
{
"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
Response
200
application/json
Webhooks data
Successful reponse status
Available options:
success
Example:
"success"
List of webhook for the logged in user
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 \
--header 'X-API-KEY: <api-key>'
{
"status": "success",
"webhooks": [
{
"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"
}
]
}