List webhook subscriptions
curl --request GET \
--url https://api.fanvue.com/v1/webhooks/subscriptions \
--header 'Authorization: Bearer <token>' \
--header 'X-Fanvue-API-Version: <x-fanvue-api-version>'import requests
url = "https://api.fanvue.com/v1/webhooks/subscriptions"
headers = {
"X-Fanvue-API-Version": "<x-fanvue-api-version>",
"Authorization": "Bearer <token>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {
'X-Fanvue-API-Version': '<x-fanvue-api-version>',
Authorization: 'Bearer <token>'
}
};
fetch('https://api.fanvue.com/v1/webhooks/subscriptions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"id": "d4e5f6g7-8h9i-0j1k-2l3m-n4o5p6q7r8s9",
"url": "https://hooks.zapier.com/hooks/catch/123456/abcdef",
"events": [
"checkout_link.payment.succeeded",
"checkout_link.subscription.activated"
],
"createdAt": "2024-01-15T00:00:00.000Z"
},
{
"id": "e5f6g7h8-9i0j-1k2l-3m4n-o5p6q7r8s9t0",
"url": "https://hooks.zapier.com/hooks/catch/123456/uvwxyz",
"events": [
"message.received"
],
"createdAt": "2024-01-14T00:00:00.000Z"
}
]
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>",
"message": "<string>",
"nextVersion": "<string>"
}{
"error": "Too many requests",
"rateLimit": {
"scope": "app",
"layer": "<string>",
"limit": 123,
"windowSeconds": 123,
"retryAfterSeconds": 123,
"docs": "<string>"
}
}Webhooks
List webhook subscriptions
List the authenticated creator’s active webhook subscriptions.
GET
/
v1
/
webhooks
/
subscriptions
List webhook subscriptions
curl --request GET \
--url https://api.fanvue.com/v1/webhooks/subscriptions \
--header 'Authorization: Bearer <token>' \
--header 'X-Fanvue-API-Version: <x-fanvue-api-version>'import requests
url = "https://api.fanvue.com/v1/webhooks/subscriptions"
headers = {
"X-Fanvue-API-Version": "<x-fanvue-api-version>",
"Authorization": "Bearer <token>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {
'X-Fanvue-API-Version': '<x-fanvue-api-version>',
Authorization: 'Bearer <token>'
}
};
fetch('https://api.fanvue.com/v1/webhooks/subscriptions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"id": "d4e5f6g7-8h9i-0j1k-2l3m-n4o5p6q7r8s9",
"url": "https://hooks.zapier.com/hooks/catch/123456/abcdef",
"events": [
"checkout_link.payment.succeeded",
"checkout_link.subscription.activated"
],
"createdAt": "2024-01-15T00:00:00.000Z"
},
{
"id": "e5f6g7h8-9i0j-1k2l-3m4n-o5p6q7r8s9t0",
"url": "https://hooks.zapier.com/hooks/catch/123456/uvwxyz",
"events": [
"message.received"
],
"createdAt": "2024-01-14T00:00:00.000Z"
}
]
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>",
"message": "<string>",
"nextVersion": "<string>"
}{
"error": "Too many requests",
"rateLimit": {
"scope": "app",
"layer": "<string>",
"limit": 123,
"windowSeconds": 123,
"retryAfterSeconds": 123,
"docs": "<string>"
}
}Required scope
read:self— Access your own user profile information, including basic account details and settings.
Authorizations
Scopes
Headers
Was this page helpful?