Skip to main content
This authentication scheme allows an application to obtain an access token by exchanging its application credentials, such as client ID and client secret. This flow is particularly suitable for Machine-to-Machine (M2M) applications, including your application or backend services, as it enables the authentication and authorization of the application itself, rather than that of a user.
This flow works only if the Allow client credentials flow option is enabled for your API client (Configuration > Public API Client). The token’s permissions come from the roles assigned to the API client on that same screen; calling Reporting API endpoints requires the Tenant Administrator or Processing Supervisor role. A client without the option enabled receives {"error":"invalid_client"} from the token endpoint.
To obtain the access token, use the following:
  1. A POST request.
  2. The https://vantage-[region].abbyy.com/auth2/connect/token resource.
  3. A Content-Type header with the application/x-www-form-urlencoded encoding.
  4. A request body with the following parameters:
Sample request: For Windows: For Linux: The server’s response to your request will contain the access token:
For more information about Client Credentials, visit this link.