Test Superagent webhook
Changed on<Info>This API is in beta. Endpoints, fields, and behavior may still change, so avoid depending on it in production.</Info>
Sends a sample message.completed delivery to a Superagent's webhook, so you can check your endpoint.
The delivery is signed when the webhook has a secret, and carries a unique X-Base44-Delivery header. A successful call means the test ran, not that your endpoint accepted it. Read ok for that. A failed test doesn't count toward consecutive_failures.
Base44 waits up to 10 seconds for your endpoint to answer.
<Note>This endpoint accepts a personal API key or personal access token belonging to an editor of the agent. A read-only key is refused, and workspace API keys are not accepted.</Note>
Request
- Base URL: https://app.base44.com
- URL: https://app.base44.com/api/agents/{agent_id}/webhooks/{webhook_id}/test
- Auth: HTTP bearer
Path parameters
ID of the webhook to test. Get it from List Superagent webhooks.
ID of the Superagent. It's the agent's app ID, shown in the agent's developer settings.
Response
How your endpoint answered the test.
Example response
{
"ok": true,
"status_code": 200,
"response_body": "ok",
"error": "ConnectTimeout: timed out"
}Changes
- info
the endpoint scheme security
PersonalAccessTokenAuthwas added to the API
- info
- info
endpoint added
- info