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_idstringOptionalformat: "uuid"
Filter by line ID
phone_numberstringOptional
Filter by E.164 phone number
event_typeenumOptional
Filter by event type
fromdatetimeOptional

Start of date range (ISO 8601)

todatetimeOptional

End of date range (ISO 8601)

limitintegerOptional1-100Defaults to 50

Maximum number of results (1-100)

offsetintegerOptional>=0Defaults to 0
Number of results to skip

Response

List of compliance events
eventslist of objects
totalinteger
Total number of matching events

Errors

401
Unauthorized Error