CallerAPI Documentation
  1. Webhook
CallerAPI Documentation
  • Quickstart
  • Use cases
    • For carriers (MNOs/MVNOs)
    • CPaaS platforms
    • Cloud communications providers
    • SIP trunking providers
    • PBX/Cloud PBX
    • UCaaS vendors
  • Account
    • Balance and email
      GET
  • Spam protection
    • Daily spam reports
      • Webhook
        • Subscribe to daily reports
          POST
        • Unsubscribe from daily reports
          DELETE
        • List webhook subscriptions
          GET
        • Manual dispatch of reports
          POST
        • Test webhook
          POST
      • REST
        • Fetch daily spam reports
    • Spam score + HLR
      GET
  • Fraud prevention
    • Ported date
      GET
    • Porting history
      GET
    • Online presence
      GET
    • KYC user identity
      POST
  • Data partners
    • Upload spam reports
      POST
    • Upload contacts
      POST
  • Schemas
    • Spam protection
      • Spam score request
      • Business info
      • Carrier info
      • Complaint (without number)
      • Daily spam reports request
      • Complaint (with phone)
  1. Webhook

Subscribe to daily reports

POST
/api/webhooks/complaints/subscribe
INFO
This endpoint is only available to special enterprise clients, schedule a meeting to discuss the pricing
Subscribe to daily spam reports webhook, instead of scraping them yourself
Webhook delivery headers (what you receive):
X-CA-Sub: Subscription UUID (string)
X-CA-Delivery: Delivery UUID (string)
X-CA-Alg: hmac-sha256
X-CA-Ver: 1
X-CA-Sig: sha256=<hex>, where signature = HMAC-SHA256(api_key, X-CA-Delivery)
Signature verification (pseudo):
Webhook payload schema:
[
  {
    "PhoneNumber": "+13058901598",
    "CreatedDate": "2025-10-11T13:04:05Z",
    "ViolationDate": "2025-10-11T12:04:05Z",
    "ConsumerState": "Nebraska",
    "Subject": "Computer & Technical Support",
    "RecordedMessageOrRobocall": "N",
    "Comment": ""
  }
]

Request

Authorization
API Key
Add parameter in header
x-auth
Example:
x-auth: ********************
or
Body Params application/json

Examples

Responses

🟢200OK
application/json
Body

🟠401Unauthorized
🟠400Bad request
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://callerapi.com/api/webhooks/complaints/subscribe' \
--header 'x-auth: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "url": "https://partner.example.com/hooks/complaints"
}'
Response Response Example
200 - Webhook subscription successful
{
    "status": "success"
}
Modified at 2025-10-12 15:29:02
Previous
Balance and email
Next
Unsubscribe from daily reports
Built with