Get a webhook
GET
/webhooks/{id}
Authentication
Bearer Token API Key (header: X-API-Key)
Path Parameters
id
string
required
path
Responses
200
Webhook details
No response body
curl -X GET 'https://platform-api.anyspend.com/api/v1/webhooks/string' \
-H 'Authorization: Bearer YOUR_API_TOKEN'
const response = await fetch('https://platform-api.anyspend.com/api/v1/webhooks/string', {
method: 'GET',
headers: {
"Authorization": "Bearer YOUR_API_TOKEN"
}
});
const data = await response.json();
console.log(data);
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN'
}
response = requests.get('https://platform-api.anyspend.com/api/v1/webhooks/string', headers=headers)
print(response.json())
GET
/webhooks/{id}