/api/conversationsStart a new user verification process
Each process of getting data and confirming the identity of the user should start by calling this method. The call initiates this process and returns information about the address to which the user should be redirected to gathering the information requested from him.
When using OAuth2, the API key can be sent either via Authentication Bearer header or via HTTP POST body.
The query contains three groups of information:
- general information such as:
- userKey: User ID on your system
- strategy: information about the identity checking strategy (usually the default value is sufficient)
- returnUrl: URL to which the user should be redirected after the process is completed
- callbackUrl: information about the return address to which the system will send the acquired information. If this information is not provided, Authologic assumes that the information will be downloaded by the client
- query: query definition containing individual products provided by Authologic
The information contained in the query section is divided into specific products:
- identity - fetch user information. This section is always required
- requireOneOf: User information to be specified by Authologic. This is represented as set of sets and Authologic will try to fetch one of these
- optional: User information that may be specified by Authologic when the information is available
- aml - check user on AML lists
- checks: lists where the user should be checked
- auth - user authentication product
- bankTransactions - the process of retrieving information about transactions.
- type: type of transaction - credit, debit or all
- flags: Additional information on what to return
- verify - confirmation of the compliance of user data
- user: information about user that should be verified
Request Body
application/vnd.authologic.v1.1+jsonJSONuserKeystring1–200 charspattern^[a-zA-Z0-9-_+=#@.:]+$User ID on your system. This property is not used by the Authologic and is returned with the conversation status. If not given will be generated automatically.
7dfb9ded-c38f-49ae-95e2-307283a0b1f6returnUrlstringThe address on your system where the user will be redirected after verifying his identity. If {conversationId} part was given, it will be replaced with the conversation ID
https://authologic.com/tests/return/?conversation={conversationId}callbackUrlstringThe address in your system to which information about the user will be sent. You can use placeholders: {conversationId}, {target} and {event}
https://authologic.com/tests/callback/?conversation={conversationId}&target={target}&event={event}layoutUrlstringThe address on your system where the user will be redirected when Authologic need contact with user. This allows to define process look on your side. If {conversationId} part was given, it will be replaced with the conversation ID
https://authologic.com/tests/layout/?conversation={conversationId}strategystringpattern^[a-zA-Z]+:[a-zA-Z0-9-_+:]+$Additional information on the user identity verification strategy
public:defaultqueryProductQueryQuery definition - List of information to be obtained
settingsobjectAdditional, optional settings depend on the selected strategy.
{"countryCode":"PL"}[additional properties]stringResponses
Conversation started
application/vnd.authologic.v1.1+jsonJSONidstring required Unique identifier for the conversation
e0c0b3cc-8238-414f-9940-9f14bd1b8693userKeystring required Unique user identifier in the Customer's system
d5dbb8e0-192e-4bc6-972c-f7948409d10curlstring required The address where user should be redirected to perform the verification
https://sandbox.authologic.com/c/022e8eaf-b06d-44b9-a68f-45eef1353dbestatusstring required Conversation state
- CREATED - conversation ready to be run
- IN_PROGRESS - data is being determined from the query
- FINISHED - query checks have been completed
- CANCELED - checking interrupted by the user
- EXPIRED - conversation is expired
CREATEDIN_PROGRESSFINISHEDCANCELEDEXPIREDresultConversationInfoResult required The result of checking individual elements
infoarray<ConversationStrategyInfo>The information about activated strategy elements
Bad Request
application/vnd.authologic.v1.1+jsonJSONBadRequestApiErrorMethodArgumentNotValidErrorMethodArgumentTypeMismatchErrorConstraintViolationErrorCustomValidationApiErrorOperationNotSupportedApiFieldErrorMissingHeaderApiErrorExhaustion of the plan or limitations related to non-payment
Forbidden
application/vnd.authologic.v1.1+jsonJSONstatusstring required Response status
messagestring required Descriptive error message
violationsarray<Violation> required Validation error list
statusDetailstringResponse status detailed information
Server side error