Skip to main content
The API uses HTTP Basic Auth for authentication. All requests to the API must contain an authorization header. To build the authorization header, use the application credentials, which are the application identifier and token. Applications in ABBYY FlexiCapture Cloud specify the settings that are used to process the uploaded documents. They determine the document type, the list of fields to be extracted, the rules to be checked, and more. If you have several applications, you can choose which one to use depending on your needs. You can view the application credentials and change the active application on the Applications page in the ABBYY FlexiCapture Cloud web portal.

Get the authorization header

1

Concatenate the credentials

Concatenate the application identifier and the token, using a colon as a separator.
2

Encode the string

Encode the resulting string using any variant of Base64.
3

Add the authorization method

Add the authorization method followed by a space in front of the encoded string.

Example authorization header

The following example builds the header for an application ID of Aladdin and a token of OpenSesame.
  1. Concatenate the application ID and the token.
    Concatenated credentials
  2. Encode the string using any variant of Base64.
    Encoded string
  3. Add the authorization method followed by a space in front of the encoded string.
    Encoded string with the method
The resulting authorization header is as follows.
Authorization header