Skip to main content
POST /v1/account/webhooks/primary/test API Key

Test webhook

Send a test webhook to verify the endpoint is working correctly.
Returns the HTTP status code received from the endpoint.

Parameters

Name Location Type Description
X-API-Key * header string API key for authentication

* Required parameter

Response

200 Test webhook sent

Content-Type: application/json

success boolean
data object

Result of testing a webhook endpoint

message string

Result message

Example: Webhook test successful

status_code integer nullable

HTTP status code from the webhook endpoint

Example: 200

error string nullable

Error message if the test failed

Code Examples

import os
from aho_sdk import AhoSdk

client = AhoSdk.account(api_key=os.environ["AHO_API_KEY"])

result = client.webhooks.test

Try It

Log in to test this endpoint directly from the documentation.

Log in