Skip to main content
GET
/
user
Get user information.
curl --request GET \
  --url https://lab.trustos.telefonicatech.com/id/v2/user \
  --header 'Authorization: Bearer <token>'
{
  "statusCode": 200,
  "message": "User found",
  "data": {
    "id": "did:user:<id>",
    "address": "0x1234"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

Successful user info retrieval.

statusCode
number

Request status code.

Example:

200

message
string

Message returned by the request.

Example:

"User found"

data
object

Data returned by the request.

I