Our APIs are based on a RESTful approach (see REST). It features predictable and resource-oriented URLs and uses HTTP response codes to indicate API errors. Our REST APIs consist of HTTP methods that you can use to build integrations that don't rely on interactions in the Holaspirit interface.
Why you should use our REST APIs?
To connect Holaspirit to a third-party product
To enable flows that require communicating with a server backend or a database
Holaspirit's API documentation
🔗 Access all resources relating to our API
🔗 Check Holaspirit developers' API guide: a reference manual with all the information you need to get started
🔗 Consult our API endpoints doc to get details on all endpoints
🔗 Subscribe to our Changelog to stay on top of all API changes
How to get notified of API changes?
To get notifications (email and Github) for changes we make to our API, you can subscribe to our changelog:
Go to our API documentation page
Click on the Watch button
Select All activity
Obtain your API token
To generate an API token:
Go to Administration settings
Find the API tab
Click on Generate token
Enter your token's name
Click on Create
Your API token is ready to be copied and used to connect with a third-party product.
After you get a read-only access token, you can use it for all your GET requests, it never expires.
client_id: Required OAuth2 Client ID
client_secret: OAuth2 Client secret
grant_type: OAuth2 grant
type: "password" or "refresh_token"
timezone: Timezone (e.g.: "+02:00")
The client secret is not required for a public app.
The default and public Client ID is:
Incorrect Client ID (status code: 400):
"error_description": "The client credentials are invalid"
Incorrect credentials (status code: 400):
"error_description": "Invalid username and password combination"
Once authenticated, you can use all endpoints listed in the documentation:
Basic usage (to get the roles of your organization):
curl 'https://app.holaspirit.com/api/stats/organizations/******/roles' -H 'Authorization: Bearer *****'