Skip to main content
To interact with the Salesbricks API, include the X-SALESBRICKS-KEY attribute in your request headers. The value for this attribute should be your unique Public API Token. Obtain your Public API Token conveniently under Settings -> Integrations -> Public API.

Example

cURL

Endpoint URLs

REST API Endpoint

The REST API is the recommended endpoint for integrations, and covers customers, subscriptions, invoices, plans, payment methods, and usage.

Usage API Endpoint

https://api.salesbricks.com/api/v2/usage

GraphQL API Endpoint

https://api.salesbricks.com/api/v1/graphql
The GraphQL API remains supported for existing integrations. New functionality is added to the REST API.
The same Public API Token authenticates all three endpoints.