events
public

Ingest Events

Ingest batch of events.

Scopes: events:write

post/v1/events/ingest

Request

  • Base URL
    https://api.polar.sh
  • URL
    https://api.polar.sh/v1/events/ingest
  • Auth
    • OpenID Connect (/.well-known/openid-configuration, scopes: events:write)
    • or HTTP bearer
    • or HTTP bearer

Request body

Example request

{
  "events": [
    {
      "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737"
    }
  ]
}

Response

Successful Response

insertedinteger required

Number of events inserted.

duplicatesinteger

Number of duplicate events skipped.

Changes

No recorded changes to this operation across all 11 revisions of this API.