Skip to main content
Authentication to the API is performed via HTTP Basic Auth. All requests to the API must contain an authorization header. To get the authorization header, use the application credentials: 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

For an application ID of Aladdin and a token of OpenSesame:
  1. Concatenate the application ID and the token:
  2. Encode the string using any variant of Base64:
  3. Add the authorization method followed by a space in front of the encoded string:
The resulting authorization header is: