Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

URLhttps://<xid-useradm-baseurl>/<pid>
Request methodGET with URL path parameter pid (same as bankid_altsub) for user in question
AuthenticationAccess Token as Bearer Token in Authorization Header
Success response200 OK with JSON structure of user data (see example below)
Error response

403 Forbidden if the bearer token is not accepted for any reason

400 Bad Request if resource access is insufficient (missing scope)

404 Not Found if pid is not an xID user

ExampleSee below

This method returns personal data registered by the xID service for the end user given by pid. There is no dialog shown to the end user.

Note: Data is returned also for users that have been un-enrolled less than one month ago.

Example

{"name":"NIlsen, Frode Beckmann","nnin":"181266*****","phone":null}
  • No labels