1. Help Center
  2. MitID
  3. Frequently Asked Questions

Why the MitID lookup_cpr is not working for me?

The Lookup_cpr endpoint is available only for Public Companies(Government) will get this service. As for private companies, they can use mitid and match_cpr/mitid
This endpoint  is used for cpr match

--------------------------------------------------------------------------------------------------------------

According to MitID documentation regarding available CPR operations: 

"Depending on whether it is a public or a private broker, there are two operations available to confirm user’s CPR number.

A service provider registered as "PUBLIC" provider can look up the CPR number of the authenticated user, using this endpoint

A broker can match a CPR number of a user, which has done a successful authentication.
There is a limit of how many times a CPR number match operation can be done.
The current value for this limit is 3, for a specific Authentication response. This is a configurable limit, and can change in the future.
The intention of the cprMatch endpoint is to be called once for a given user (authentication), since you should know the CPR number, before calling cprMatch"

So if you're a private company, you should ask user for CPR number and then we can match it using the "/core/api/sessions/match_cpr/mitid" endpoint (https://gateway.zignsec.com/#/eIDs%20-%20Denmark/postMatchCprMitid)