cURL
curl --request GET \
--url https://api.example.com/webhooks/{app_id}/{webhook_id}/eventsimport requests
url = "https://api.example.com/webhooks/{app_id}/{webhook_id}/events"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/webhooks/{app_id}/{webhook_id}/events', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/webhooks/{app_id}/{webhook_id}/events",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/webhooks/{app_id}/{webhook_id}/events"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.example.com/webhooks/{app_id}/{webhook_id}/events")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/webhooks/{app_id}/{webhook_id}/events")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body[
{
"id": "<string>",
"payload": {},
"retries": 123,
"last_retry_at": "2023-11-07T05:31:56Z",
"webhook": {
"id": "<string>",
"url": "<string>",
"app": {
"id": "<string>",
"name": "<string>",
"kyc_return_url": "<string>",
"use_explorer": true,
"permissions": {
"can_view": true,
"can_edit": true,
"can_delete": true,
"can_edit_members": true
},
"app_fee": 123,
"user": {
"id": "<string>",
"username": "<string>",
"first_name": "<string>",
"last_name": "<string>"
},
"is_member": true,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"last_log": {
"id": "<string>",
"response_status": 123,
"response_body": "<string>",
"webhook_event": "<unknown>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
}
]Webhooks
Get Webhook Events
GET
/
webhooks
/
{app_id}
/
{webhook_id}
/
events
cURL
curl --request GET \
--url https://api.example.com/webhooks/{app_id}/{webhook_id}/eventsimport requests
url = "https://api.example.com/webhooks/{app_id}/{webhook_id}/events"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/webhooks/{app_id}/{webhook_id}/events', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/webhooks/{app_id}/{webhook_id}/events",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/webhooks/{app_id}/{webhook_id}/events"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.example.com/webhooks/{app_id}/{webhook_id}/events")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/webhooks/{app_id}/{webhook_id}/events")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body[
{
"id": "<string>",
"payload": {},
"retries": 123,
"last_retry_at": "2023-11-07T05:31:56Z",
"webhook": {
"id": "<string>",
"url": "<string>",
"app": {
"id": "<string>",
"name": "<string>",
"kyc_return_url": "<string>",
"use_explorer": true,
"permissions": {
"can_view": true,
"can_edit": true,
"can_delete": true,
"can_edit_members": true
},
"app_fee": 123,
"user": {
"id": "<string>",
"username": "<string>",
"first_name": "<string>",
"last_name": "<string>"
},
"is_member": true,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"last_log": {
"id": "<string>",
"response_status": 123,
"response_body": "<string>",
"webhook_event": "<unknown>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
}
]Query Parameters
Required range:
x >= 1Required range:
x >= 1Response
200 - application/json
Available options:
test, payment Available options:
queued, processing, succeeded, failed, delayed Show child attributes
Show child attributes
Show child attributes
Show child attributes
⌘I

