- Try out each endpoint in the interactive API reference documentation.
- Export the OpenAPI Specification file from the API reference documentation and import the file into an API client, such as Postman.
Endpoints
A KarmaCheck endpoint consists of the following:- The base URL: The production API is hosted at
https://api.karmacheck.io. For sandbox testing, the base URL ishttps://api-stage.karmacheck.io. - A resource path: The API is organized around resources (such as cases, packages, or secure documents) that you can retrieve, create, or update. When applicable, a specific resource is referenced by its unique identifier.
Request headers
HTTP request headers store authentication data and information about the request and response formats:- Authentication: Every API request must include a valid authentication token that authorizes access to a group’s data. See Authentication for details on how to obtain an authentication token.
- Request format: Requests that include body data are submitted in JSON format. This is specified by sending the header
Content-Type: application/json. - Response format: Most responses are returned in JSON format. This is specified by sending the header
Accept: application/json. The headerAccept: text/htmlis used for endpoints that return data in plain text format, such as the URL of a report for download.