Humance
  • Introduction
  • Features and Capabilities
  • Account and API Keys
  • SDK Installation and Setup
  • Contribution Collection System (Billing)
  • User Data Hashing
  • Share Functionality
  • Testing & QA
  • Errors and Troubleshooting
  • Help
Powered by GitBook
On this page

Was this helpful?

  1. Endpoints

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 1 year ago

Was this helpful?