API reference
Send a test event
Sends a signed `ping` event to your endpoint and reports what it answered — use it to check your signature verification.
View as MarkdownUpdated Oct 17, 2026
POST
/api/external/webhooks/testNewSends a signed ping event to your endpoint and reports what it answered — use it to check your signature verification.
Authentication
Send the creator's API key as a bearer token: Authorization: Bearer dpfn_…. See Authentication & API keys.
Responses
200The outcome.
| Name | Type | Description |
|---|---|---|
id | string | Event id. |
delivered | boolean | True when your endpoint answered 2xx. |
statusCode | integer | null | Your endpoint’s status code. |
error | string | null | Why it failed. |
Example response
{
"id": "evt_9f01…",
"delivered": true,
"statusCode": 200,
"error": null
}Errors
| Status | Body | When |
|---|---|---|
| 401 | {"error":"Unauthorized","code":"unauthorized"} | Missing or invalid API key. |
| 403 | {"error":"This endpoint needs a key bound to an approved app.","code":"app_key_required"} | A Personal key was used. |
| 403 | {"error":"Use the app owner's key for this endpoint.","code":"owner_key_required"} | The key was minted by a creator for themselves. App-level calls need a key held by your app owner: their own, or one their agency minted for its personas or managed creators. |
| 409 | {"error":"Set a webhook URL first (PUT /api/external/webhooks)."} | No endpoint configured. |
Rate limiting
Every response carries the X-RateLimit-Tier header and, on limited tiers, the per-minute and per-day trios — read X-RateLimit-Remaining and X-RateLimit-Reset instead of hardcoding limits. Details in Rate limits.
Code samples
curl -X POST "https://www.dropfans.io/api/external/webhooks/test" \
-H "Authorization: Bearer $DROPFANS_API_KEY"const res = await fetch(`https://www.dropfans.io/api/external/webhooks/test`, {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.DROPFANS_API_KEY}`,
},
});
console.log(await res.json());import os
import requests
res = requests.post(
"https://www.dropfans.io/api/external/webhooks/test",
headers={"Authorization": f"Bearer {os.environ['DROPFANS_API_KEY']}"},
)
print(res.json())Questions? [email protected]
