Based on the environment you wish to access, include one of the following URLs.

  • Sandbox: https:://api.sandbox.kwara.com
  • Live: https://api.kwara.com

You'll also need to include your access token and the API version.

The following call, which returns a simple success message, includes a bearer token in the Authorization request header and the vendor media type application/vnd.kwara.v1+json in the Accept request header.

$ curl https://api.sandbox.kwara.com/oauth/test \
   -H 'Authorization: Bearer <Access-Token>' \
   -H 'Accept: application/vnd.kwara.v1+json' \
   -H 'Content-Type: application/json'

Response

{
    "success": "You can see me!"
}