POST
/
v1
/
events
/
ingest
from polar_sdk import Polar


with Polar(
    access_token="<YOUR_BEARER_TOKEN_HERE>",
) as polar:

    res = polar.events.ingest(request={
        "events": [],
    })

    # Handle response
    print(res)
{
  "inserted": 123
}

Authorizations

Authorization
string
header
required

You can generate an Organization Access Token from your organization's settings.

Body

application/json

Response

200
application/json

Successful Response

The response is of type object.