Overview
Welcome to the Leafpress API guide! Use this guide to query your utility data. Contact [email protected] to get started.Root URL
Leafpress external API’s root URL is https://api.leafpress.io/. Once you have your API keys from the Leafpress team, make your first request!Errors
| Status | Description |
|---|---|
| 200 | OK: Your request was successful |
| 400 | Bad Request — Your request could not be parsed or is invalid. |
| 401 | Unauthorized — Your API key is missing or incorrect. |
| 403 | Forbidden — The resource requested is hidden for administrators only or doesn’t exist. |
| 404 | Not Found — The resource requested does not exist. |
| 429 | Too Many Requests — Try again later. |
| 500 | Internal Server Error — We had a problem with our server. Try again later or contact support. |
| 502 | Bad Gateway — Your request timed out (exceeded 10 seconds). |
| 503 | Service Unavailable — We’re temporarily offline for maintenance. Please try again later. |
