Links

Get Webhook

Returns a webhook config given a webhook ID

GET /webhooks/:webhookID

get
https://api.helius.xyz
/v0/webhooks/{webhookID}
Returns given Webhook.

Query a webhook by its ID.

Parameters
Path
webhookID*
string
The webhook ID.
Query
api-key*
string
The api key.
Responses
200: OK
Returns details about the given webhook ID.

Example

const getWebhook = async () => {
try {
const response = await fetch(
"https://api.helius.xyz/v0/webhooks/<webhook-id>?api-key=<PASTE YOUR API KEY HERE>",
{
method: 'GET',
headers: {
'Content-Type': 'application/json',
}
}
);
const data = await response.json();
console.log({ data });
} catch (e) {
console.error("error", e);
}
};
getWebhook();