Recommended workflow
Create a revocable API token from My listeners.
Create or select a reusable listener and keep its numeric id.
Register the exact injection attempt before sending the generated payload.
Fetch new hits with since_id and follow next_since_id.
https://pingback.sh/api/v1. Responses are JSON. FREE keys cannot use this API.Authentication
Send a revocable Pro API token in the Bearer header. Raw account keys are intentionally rejected; listener dashboard tokens are rejected too by /api/v1/*.
Tokens currently receive these scopes: listeners:read, listeners:write, hits:read, injections:write and network:read. Revoking one token does not invalidate your dashboards or other integrations.
Errors, pagination and limits
| Status | Meaning | Typical fix |
|---|---|---|
| 400 | Invalid JSON, action or parameter | Check the request body and required fields. |
| 401 | Missing, invalid, expired or revoked token | Create a new token or check the Bearer header. |
| 403 | Token lacks the required scope | Use a token with the correct scope. |
| 404 | Listener does not belong to this account | Use an ID returned by the listeners endpoint. |
| 429 | API rate limit reached | Back off and retry later. |
Hit pages accept limit from 1 to 250. Use meta.next_since_id as the next since_id. The configured default API limit is 600 requests per token per hour.
Listeners
Lists listeners owned by the Pro account, ordered by recent activity. Each item includes the listener ID, host, label, hit counters, status, expiry and enabled notification channels.
Create a listener or perform a lifecycle action.
| Action | Required fields | Purpose |
|---|---|---|
create | label optional | Create a reusable Pro listener. |
rename | listener_id, label | Change the private label. |
clear_hits | listener_id | Delete captures but keep the listener. |
archive / restore | listener_id | Hide or reactivate a listener. |
renew | listener_id | Extend the listener using the configured Pro TTL. |
delete | listener_id | Permanently delete listener and evidence. |
Captured evidence
Returns full Pro evidence in ascending ID order. Depending on the protocol this can include HTTP request data, SMTP content, DNS details, XSS browser context, origin, URI, referer, accessible cookies, DOM, browser time, iframe state, correlation metadata and a signed screenshot URL.
Correlated injections
Correlation answers the question “which exact test caused this callback?” Before injecting a payload, save the target URL, parameter or field, bug type and responsible HTTP request. PingBack creates a unique ID and embeds it in protocol-specific payloads. When one fires days or weeks later, the hit is automatically linked to the original attempt.
You know a Blind XSS or SSRF fired, but must guess which endpoint, parameter or old test caused it.
The hit includes the saved target, injection point, label and original request required for a reproducible report.
The response returns one correlation ID and ready-to-use payloads for Blind XSS, HTTP, DNS and SMTP.
Lists saved injection attempts and regenerates their protocol payloads. Omit listener_id to list attempts across the account.
Network relationship map
Returns graph-ready nodes and edges linking the listener, protocols, source IPs, correlated injection IDs and callback sequences. Use it to identify one backend touching several protocols, repeated callbacks from the same browser, or multiple hits generated by one injection attempt.
Manage alerts through the API
Send action: notifications to /listeners.php. Email, Discord, Telegram and a generic HTTPS webhook can be configured independently. Generic webhooks may use an HMAC signing secret.
Examples in several languages
The following examples list listeners. Replace the endpoint or body for other operations.
Minimal polling worker
Store the last processed hit ID per listener. This avoids downloading the complete history every time.
Security guidance
- Create one token per tool or environment so it can be revoked independently.
- Keep API tokens in environment variables or a secret manager, not source code.
- Do not expose listener dashboard tokens in public logs or reports.
- Use correlation labels that identify the target and injection point without storing unnecessary sensitive data.
- Generic webhook destinations must use HTTPS; configure an HMAC secret and verify
X-PingBack-Signature.
/api/feed.php?t=pb_…. These legacy endpoints are not the public automation API and should not be used as a replacement for /api/v1/*.