Calling the API

This document provides instructions on how to use an API token to authenticate your API requests by including it in the Authorization header. API tokens are a secure way to authenticate requests without using username and password combinations.

Prerequisites

Using the Authorization Header

The API token should be included in the Authorization header of your HTTP request. The header format is as follows:

Authorization: Bearer <your_api_token>

Replace <your_api_token> with your actual API token.

API endpoints

production: https://<org_domain>.api.getcacheflow.com

sandbox: https://<org_domain>.sandbox.api.getcacheflow.com

The endpoint url is prefixed with a unique subdomain for your organization.

Example: If your org domain is example the api endpoint would be:

https://example.api.getcacheflow.com