Sandbox Authentication & Authorization

Sandbox Authentication

Several of the Honeybee Health APIs permit sandbox usage to be used to start and test your integration. Authentication and authorization patterns available in sandbox are the same as those in production.

Access Token Request
POST /oauth/token HTTP/1.1
Host: auth.sandbox.honeybeehealth.com
Content-Type: application/x-www-form-urlencoded;charset=utf-8

grant_type=client_credentials&client_id=PAE_tecHj8ib_0F7cXuq55emEdasKPJcgV3PE3Gd56Y&client_secret=jXA3jNpRnGIfE7xXONDgH8chCJZgLi8bGOIJYuVvKe0&scope=partners
Access Token Response
HTTP/1.1 200 OK
Content-Type: application/json;charset=utf-8
Cache-Control: no-store

{
    "access_token": "xxxxxxxxxxxxxxx",
    "token_type": "Bearer",
    "expires_in": 43200,
    "created_at": 1592972935
}
    ```