post https://{cluster}.voucherify.io/v1/oauth/token
Generate an OAuth 2.0 token for an API client. The token can be used to authorize access to the Voucherify API. The token inherits the permissions and IP whitelists of the API key that is used to generete the OAuth token. You can define the scope that limits its usage. You can generate up to 200 OAuth tokens per project. The token expires in 900 seconds (15 minutes).
If the API key that is used to generate the OAuth token is deleted or blocked, you cannot generate new OAuth tokens and the existing ones will stop working within one minute.
If the API key used to generate an OAuth token is regenerated, the OAuth token can still be used.
Values for scope and serialization
Separate the values of the
scope
property with spaces.