EcoPhi API: Authentication
Learn how to set your password before starting to use the API and how to obtain an access token afterwards.
Setting the password
This step is only necessary one time (or if the password was reset). The desired password for the username is set using the provided one time password.
Headers:
Body:
Content type: application/json
Obtain an access token
Obtain an access token using username and password to send requests to the API. The access token is valid for 12 hours; after that a new one has to be obtained.
Headers:
Example response:
Content type: application/json
expires_in
: the validity of the token in seconds