Records a collection of events.
Note: this endpoint differs from the standard Chargify API endpoints in that the subdomain will be events and your site subdomain will be included in the URL path.
A maximum of 1000 events can be published in a single request. A 422 will be returned if this limit is exceeded.
The username is a Maxio Chargify API key and the password is x. Basic authentication works only with the US and EU environments, which connect to chargify.com directly. The Maxio API Gateway environment does not accept Basic authentication.
In: header
Identifies the Stream for which the events should be published.
If you've attached your own Keen project as an Advanced Billing event data-store, use this parameter to indicate the data-store.
application/json
TypeScript Definitions
Use the request body type in TypeScript.
curl -X POST \ --url 'https://events.chargify.com/subdomain/events/api_handle/bulk.json' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer ACCESS_TOKEN' \ --data-raw '[ { "chargify": { "timestamp": "2020-02-27T17:45:50-05:00", "subscription_id": 1 } }]'