List webhook subscriptions
curl --request GET \
--url https://b2b-api-sandbox.easyonramp.com/api/v1/webhooks \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://b2b-api-sandbox.easyonramp.com/api/v1/webhooks', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://b2b-api-sandbox.easyonramp.com/api/v1/webhooks"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://b2b-api-sandbox.easyonramp.com/api/v1/webhooks"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"data": [
{}
],
"pagination": {
"pages": 5,
"current_page": 2,
"next_page": 3,
"previous_page": 1
}
}Webhooks
List webhook subscriptions
Returns webhook subscriptions for your business. Search with q (URL). Sort with sort (url, status, createdAt). Select fields with fields. Signing secrets are never included.
GET
/
api
/
v1
/
webhooks
List webhook subscriptions
curl --request GET \
--url https://b2b-api-sandbox.easyonramp.com/api/v1/webhooks \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://b2b-api-sandbox.easyonramp.com/api/v1/webhooks', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://b2b-api-sandbox.easyonramp.com/api/v1/webhooks"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://b2b-api-sandbox.easyonramp.com/api/v1/webhooks"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"data": [
{}
],
"pagination": {
"pages": 5,
"current_page": 2,
"next_page": 3,
"previous_page": 1
}
}Authorizations
Bearer JWT issued to your business account during onboarding
Query Parameters
Page number (1-based, default 1)
Example:
"1"
Page size (default 50, max 100)
Example:
"50"
Sort by url, status, or createdAt. Prefix - for descending.
Example:
"-createdAt"
Comma-separated fields: id, url, events, status
Example:
"id,url,status"
Keyword search on webhook URL
Example:
"hooks.example.com"