Stories

You can make a request and get the number of trees that have been planted from your account. This gives you the ability to display the tree count in your app and show your users the real-time impact.

All requests should use https proxy, humance.io domain, and start with /company/integration/. For example https://humance.io/company/integration/orders/make

Endpoint: /public/counter

HEADERS: Authorize your company

Public-Key: <Your public key>

GET without any params

RESPONSE: Status 200 OK. Number of planted trees returned

{
    "count": "653",
}

Last updated