Karhoo for Developers | Mobility Exchange API and SDK reference

How to check API availability

Each API has a Health Check function. You can test each API by its /healthcheck endpoint. An HTTP Response Code of 204 indicates that the service if operating normally. Note that the response body will be empty.

Example using Auth API


curl --request GET -i \
  --url https://rest.sandbox.karhoo.com/v1/auth/healthcheck

OK Response

HTTP/1.1 204 No Content
Content-Type: text/plain; charset=UTF-8
Date: Fri, 202 Dec 2019 12:51:38 GMT
Access-Control-Allow-Origin: *
Strict-Transport-Security: max-age=31536000; includeSubDomains
Referrer-Policy: strict-origin-when-cross-origin
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 1; mode=block
Via: 1.1 google
Alt-Svc: clear

Updated about a year ago

How to check API availability

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.