cURL
curl --request POST \ --url https://sandbox-api.billingrails.com/v1/ingest \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "idempotency_key": "evt_12345", "event": "API request", "timestamp": "2025-06-28T17:33:40.843Z", "properties": { "billingrails_account_id": "acc_IhMUl3rrZ3", "method": "POST", "endpoint": "/api/v1/accounts", "response_code": 200, "request_size": 1024, "response_time_ms": 150 } }'
{ "ingested_event": { "object": "ingested_event", "id": "ingevt_IhMUl3rrZ3", "idempotency_key": "evt_12345", "event": "API request", "timestamp": "2025-06-28T17:33:40.843Z", "properties": { "billingrails_account_id": "acc_IhMUl3rrZ3", "method": "POST", "endpoint": "/api/v1/accounts", "response_code": 200, "request_size": 1024, "response_time_ms": 150 } } }
Ingests an event.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Ingested event payload
The body is of type object.
object
Ingested event
The response is of type object.