With our API, you can program any action on your site or software to trigger a tree-gift for your customers. Our API is our most powerful tool that lets you plant and offer trees with the level of customization you desire.
Dit artikel wordt binnenkort in het Nederlands vertaald. Sorry voor het ongemak.
What the API does
To summarize, the most important feature of our API is to let you create trees. This includes selecting the project and species to plant, and also the option to receive the tree-gift URL in return. With this URL, the recipient will be able to collect and plant his tree on our platform. You can also decide who sends the tree-gift email to the recipient: Tree-Nation or yourself.
You can use the default tree message or create new ones.
With more advanced features, you can create a Tree-Nation user profile for your corporate clients. You can also manage and distribute credits to those clients.
Under our API package, we also include some RSS feeds so you can collect information about a project or your forest and plug this content directly into your software.
The rest is handled on our platform.
Check our documentation
Click on this link to find our API documentation on Postman.
Click on this link to find our API Manual.
Define the API configuration that best fits your needs.
When we set up your API, we will send you 2 pieces of information:
Your forest id and your API token.
There are various ways to use the API:
- 2 levels: you plant trees for your customers. Learn more
- or 3 levels: you act as a platform and plant trees on behalf of your b2b clients for their end-clients. Learn more
When we provide you your token, we assume a default settings configuration:
- you are using a "2 levels" configuration
- Tree-Nation sends the tree-gifts emails
- you will pre-credit your account by credit card
If this default configuration doesn't correspond to the way you intend to use the API, please let your account manager know and we will swiftly modify the configuration.
To get started, we will provide you with access to our test website. Here you will be able to test the integration of the API. When ready, let us know and we will provide you with a token code for our live website.
To get your API Test Token and access to the test site, please fill the form: