List webhooks
curl --request GET \
--url https://api.fibre.dev/v1/webhooks \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.fibre.dev/v1/webhooks', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.fibre.dev/v1/webhooks"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"webhooks": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"url": "<string>",
"events": [
"sandbox.ready"
],
"enabled": true,
"created_at": "2023-11-07T05:31:56Z"
}
]
}{
"error": "<string>",
"code": "invalid_request",
"request_id": "<string>",
"docs_url": "<string>"
}Webhooks
List webhooks
Your account’s webhook endpoints.
GET
/
v1
/
webhooks
List webhooks
curl --request GET \
--url https://api.fibre.dev/v1/webhooks \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.fibre.dev/v1/webhooks', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.fibre.dev/v1/webhooks"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"webhooks": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"url": "<string>",
"events": [
"sandbox.ready"
],
"enabled": true,
"created_at": "2023-11-07T05:31:56Z"
}
]
}{
"error": "<string>",
"code": "invalid_request",
"request_id": "<string>",
"docs_url": "<string>"
}