Skip to main content
GET
/
api
/
external
/
companies
/
{companyId}
/
events
/
{eventId}
/
financials
/
transactions
List Event Transactions
curl --request GET \
  --url https://app.aiinsurance.io/api/external/companies/{companyId}/events/{eventId}/financials/transactions \
  --header 'Authorization: <api-key>'
{
  "items": [
    {
      "id": "550e8400-e29b-41d4-a716-446655440010",
      "eventId": "550e8400-e29b-41d4-a716-446655440001",
      "payeeId": "550e8400-e29b-41d4-a716-446655440050",
      "transactionType": "indemnity_invoice",
      "status": "paid",
      "amount": 500000,
      "invoiceNumber": "INV-2025-001",
      "invoiceDate": "2025-01-15",
      "dueDate": "2025-02-15",
      "paidDate": "2025-01-20",
      "description": "Initial claim payment",
      "voidReason": null,
      "isDraft": false,
      "isForwardedInvoice": false,
      "createdAt": "2025-01-15T10:30:00.000Z",
      "createdBy": "google-oauth2|123456789",
      "updatedAt": "2025-01-20T14:00:00.000Z",
      "updatedBy": "google-oauth2|123456789"
    },
    {
      "id": "550e8400-e29b-41d4-a716-446655440011",
      "eventId": "550e8400-e29b-41d4-a716-446655440001",
      "payeeId": "550e8400-e29b-41d4-a716-446655440051",
      "transactionType": "alae_invoice",
      "status": "owed",
      "amount": 75000,
      "invoiceNumber": "INV-2025-002",
      "invoiceDate": "2025-01-18",
      "dueDate": "2025-02-18",
      "paidDate": null,
      "description": "Legal fees",
      "voidReason": null,
      "isDraft": false,
      "isForwardedInvoice": false,
      "createdAt": "2025-01-18T09:00:00.000Z",
      "createdBy": "google-oauth2|123456789",
      "updatedAt": null,
      "updatedBy": null
    }
  ],
  "totalCount": 2
}

Documentation Index

Fetch the complete documentation index at: https://docs.aiinsurance.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key authentication. Include your API key in the Authorization header.

Path Parameters

companyId
string<uuid>
required

Company identifier

eventId
string<uuid>
required

Event identifier

Query Parameters

page
integer
default:1

Page number (1-based, default 1, page size 50)

Required range: x >= 1
sortBy
enum<string>
default:invoiceDate

Field to sort by (default invoiceDate)

Available options:
invoiceDate,
paidDate,
amount,
status,
transactionType
sortDirection
enum<string>
default:desc

Sort direction (default desc)

Available options:
asc,
desc
transactionType

Filter by transaction category (e.g., "indemnity_invoice", "alae_invoice")

status

Filter by transaction status (owed, paid, approved, void) Status of a financial transaction

Available options:
owed,
paid,
approved,
void
payeeId
string<uuid>

Filter by payee ID

filterText
string

Search across quote number, description, and other text fields

Response

Paginated list of transactions

items
object[]
totalCount
integer

Total number of matching transactions across all pages