Skip to main content

Base URL

The Chargeblast API is built on REST principles. We enforce HTTPS in every request to improve data security, integrity, and privacy. The API does not support HTTP. All requests contain the following base URL:
https://api.chargeblast.com

Authentication

To authenticate you need to add an API key as a header in each request, like so:
X-API-Key: phkey_123456789
For endpoints that are paginated, you can simply pass in ?per=100&page=0 as query string parameters (where the page starts at index = 0).
Versioning is done in the route of the endpoint itself. We are currently on version 2 of our API, and all our routes will be prefixed by v2. For example /api/v2/alerts.
I