âī¸API: Get started
Get started using the saaster API
The API of saaster provides the oppurtunity to use the functionality of saaster in other application. To use the API of saaster you need to create one. Follow this guide for this process:
âī¸API SettingsWe have chosen to use custom headers for passing additional parameters like the customerID and language etc. This approach offers a number of benefits when compared to using path parameters or query parameters. By using headers, we can add new parameters to the API without modifying the endpoint itself, making it more flexible for different use cases. Additionally, custom headers are not visible in the URL, ensuring that sensitive information such as user IDs or authentication tokens can be passed securely without being exposed in the URL. This approach also keeps the URL clean and easy to read, making it easier to understand the purpose of the endpoint.
First steps
In order to use the saaster API, you need to follow these steps:
Generate an access token. Example:
Use the access token to create a request to the saaster API. The example below fetches the current plan of a customer:
Make sure to replace
{access-token}
with the token you received in Step 1.
CFML example:
Last updated