Togai · Example Payload

Togai Ingest Events Example

BillingMeteringUsage-Based PricingRevenue ManagementSaaSFintech

Togai Ingest Events Example is an example object payload from Togai, with 2 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

requestresponse

Example Payload

Raw ↑
{
  "request": {
    "method": "POST",
    "url": "https://api.togai.com/ingest",
    "headers": {
      "Authorization": "Bearer {api_token}",
      "Content-Type": "application/json"
    },
    "body": {
      "events": [
        {
          "id": "evt-001",
          "schemaName": "api-calls",
          "accountId": "acme-corp-main",
          "timestamp": "2026-05-03T10:00:00Z",
          "dimensions": {
            "region": "us-east-1",
            "tier": "premium"
          },
          "attributes": {
            "units": 100
          }
        }
      ]
    }
  },
  "response": {
    "status": 200,
    "headers": {
      "Content-Type": "application/json"
    },
    "body": {
      "success": true,
      "eventIds": ["evt-001"]
    }
  }
}