You can connect to the WebSocket to receive information about the identification process.
Endpoint URL
wss://demo2.api.concedus.com/ws/connect
Authentication
Set Authorization header to Bearer {{token}}
Use the accessToken received after Authentification as {{token}}
Topics
Here you can find the message topics that may be sent by the WebSocket during the onboarding process.
identRequestCreated
You receive this message when a customer or contract record has been successfully sent. It contains the KYC provider and the verification link that the registered user can now use for verification.
identResult
You receive this message when the user has completed the verification. Depending on the status, the verification was successful or failed.
Like identResult, but this message also contains attachments sent by the KYC provider. Only usable in certain cases, depending on the contract.
mismatches
You receive this message if there were mismatches between the data sent by you and the data sent by the KYC-provider. The exact mismatches can be read in the message body. The structure should always be equal for all KYC providers used.
complianceRecord
When the verification was completed a compliance record is sent (See: Compliance Records).
Methods
You can send a message with these methods to the WebSocket
Get Topics
Show which topics are available / enabled for you
getAvailableTopics
getEnabledTopics
Get Messages
The method getLastMessages can be specified with parameters:
Property
Type
Description
since
string (ISO 8601)
show only messages since specific timedate
count
integer
show only a specific amount of messages
topics
array of string
show only messages with specific topics (see: Topics)
Example
Show the last 2 messages since 2022-09-20T11:31:42.937+00:00 with the topic identResult
{
   "topic": "method",
   "method": "getLastMessages"
}
{
   "topic": "method",
   "method": "getLastMessages",
   "since":"2022-09-20T11:31:42.937+00:00",
   "count": 2,
   "topics": [
       "identResult",
   ]
}