/v1/account/webhooks
API Key
List webhooks
List configured webhooks for the account. Currently each account can have
at most one webhook, so this returns either an empty array or a single-item array.
Parameters
| Name | Location | Type | Description |
|---|---|---|---|
X-API-Key
*
|
header | string | API key for authentication |
* Required parameter
Response
Content-Type: application/json
success
boolean
data
array[object]
Array items:
A webhook endpoint for receiving event notifications
id
*
string
Webhook identifier (currently always 'primary')
Example: primary
url
*
string (uri)
The webhook endpoint URL
Example: https://example.com/webhook
configured
*
boolean
Whether the webhook is configured
Example: true
created_at
string (date-time)
nullable
When the webhook was created (not currently tracked)
Example: 2025-01-15T09:00:00Z
updated_at
string (date-time)
nullable
When the webhook was last updated (not currently tracked)
Example: 2025-02-20T14:30:00Z
Code Examples
import os
from aho_sdk import AhoSdk
client = AhoSdk.account(api_key=os.environ["AHO_API_KEY"])
result = client.webhooks.list
client = AhoSdk.account(api_key: ENV["AHO_API_KEY"])
result = client.webhooks.list
import { AhoSdk } from '@aho/sdk';
const client = AhoSdk.account({ apiKey: process.env.AHO_API_KEY });
const result = await client.webhooks.list;
curl -X GET 'https://api.aho.com/v1/account/webhooks' \
-H 'X-API-Key: $AHO_API_KEY'
Try It
Log in to test this endpoint directly from the documentation.
Log in