For AI agents: The documentation index is at https://docs.digitalocean.com/llms.txt. Markdown versions of pages use the same URL with index.html.md in place of the HTML page (for example, append index.html.md to the directory path instead of opening the HTML document).
Usage
client.v2.agents.webhookProviders.get(requestConfiguration?: RequestConfiguration<object>): Promise<undefined | List_webhook_providers_response>
Description
A static, code-defined registry (not a database table), webhook-only. Cron triggers have no provider and never call this. Used to populate the provider dropdown with display name, docs link, paste hint, and the signature scheme.
Request Sample
Show Request Sample
import { FetchRequestAdapter } from "@microsoft/kiota-http-fetchlibrary";
import {
createDigitalOceanClient,
DigitalOceanApiKeyAuthenticationProvider,
} from "@digitalocean/dots";
const authProvider = new DigitalOceanApiKeyAuthenticationProvider(process.env.DIGITALOCEAN_TOKEN!);
const adapter = new FetchRequestAdapter(authProvider);
const client = createDigitalOceanClient(adapter);
const response = await client.v2.agents.webhookProviders.get();
Response Example
Show Response Example
{
"providers": [
{
"key": "github",
"display_name": "GitHub",
"description": "Verify deliveries with an HMAC-SHA256 signature over the raw body.",
"docs_url": "https://docs.github.com/webhooks",
"paste_hint": "Paste into the webhook's Secret field."
}
]
}
See /v2/agents/webhook-providers in the API reference for additional detail on responses, headers, parameters, and more.