Retrieve and Store an Access Token

Your access token will be emailed to you.

Be sure you check your spam folder if you don't find it in your Inbox within 24 hrs. We may reach out to you if we have concerns or specific thoughts/questions about your use of the GreenChoice Empower API.

Store your access token safely. Treat it like a password and avoid committing to a code base or storing in a publicly accessible place. You can always replace it with a new token using the authentication endpoint, with your email and password used at registration, if you lose your token or think it was compromised.

Your access token is required for all GreenChoice Empower API endpoints accept the authentication endpoint (which requires your email and password instead). Send it over in the headers of your API requests as an Authorization entry. Head over to the next section for more details and examples of using the token and making API calls. You can also take a look at the Your First API Call recipe to see a simple example.