Query compliance audit trail
Returns an immutable audit trail of compliance events. Supports filtering by line, phone number, event type, and date range.
Authentication
AuthorizationBearer
Send as Authorization: Bearer <your-key>. Obtain keys from the portal — prefix sk_live_ for production, sk_test_ for sandbox.
Query parameters
line_id
Filter by line ID
phone_number
Filter by E.164 phone number
event_type
Filter by event type
from
Start of date range (ISO 8601)
to
End of date range (ISO 8601)
limit
Maximum number of results (1-100)
offset
Number of results to skip
Response
List of compliance events
events
total
Total number of matching events
Errors
401
Unauthorized Error
