POST
/
ingest
curl --request POST \
  --url https://sandbox-api.billingrails.com/v1/ingest \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "idempotency_key": "<string>",
  "event": "<string>",
  "timestamp": "2023-11-07T05:31:56Z",
  "properties": "<string>"
}'
{
  "ingested_event": {
    "object": "ingested_event",
    "id": "<string>",
    "idempotency_key": "<string>",
    "event": "<string>",
    "timestamp": "2023-11-07T05:31:56Z",
    "properties": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Ingested event payload

The body is of type object.

Response

200 - application/json

Ingested event

The response is of type object.