post
https://connect.digits.com/v1/oauth/token
Exchange an authorization code for a refresh token, or a refresh token for a new access token.
The Digits API supports two authentication modes:
authorization_codeand refresh_token- standard OAuth flow, for granting access to a single connection. Most integrations will use this authentication mode, as it allows for writing data.
client_credentials- Directly pull an Access Token for client credentials. The resulting access token may only be used against non-source endpoints. An OAuth authorization flow is required for writing data via the source APIs.