Get Access Token
Retrieves an access token, which you then pass in the Authorization header when calling API methods.
The client ID and secret you provide when calling this method must be from a set of API credentials from your Eon account. To learn more about creating API credentials and completing the authentication flow, see Authentication.
The returned access token has the permissions included in the role you assigned to the API credentials. Always make sure the API credentials have the permissions needed for the API methods you want to use it for.
The access token is valid for 12 hours. After that, you must call this method again to get a new token.
Request
Response
Access token, which you pass in the Authorization header when calling API methods.
Length of time until the token expires, in seconds.
Default: 43200 (12 hours).