Skip to main content
POST
/
v1
/
events
Send usage events in batch
curl --request POST \
  --url https://api.quivly.com/v1/events \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "events": [
    {
      "event_id": "<string>",
      "customer_id": "<string>",
      "event_code": "<string>",
      "event_type": "credit",
      "created_at": "2023-11-07T05:31:56Z",
      "event_properties": {}
    }
  ]
}'
{
  "message": "Events are accepted and queued."
}

Authorizations

Authorization
string
header
required

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

Body

application/json
events
object[]
required
Maximum length: 100

Response

Events are accepted and queued.

The response is of type any.