Retrieve a Profile

GET

/api/v1/profiles/{id}

Returns the requested Profile for the given User

Request

curl --location 'https://nanotrust.io/api/v1/profiles/ID' \
    --header 'Accept: application/json' \
    --header 'Authorization: Bearer YOUR_TOKEN'

Query Params

Name Type Descriptipon
ID String Profile id

Responses

200

{
    "profile": {
        "id": "c0261a57-45b2-40d4-a14b-3ef12ae02ccc",
        "email": "elidia@auer.com",
        "active_credits_count": 0,
        "created_at": "2023-03-06T14:16:56.863+01:00",
        "updated_at": "2023-03-06T14:16:56.863+01:00",
        "label": "Kenda Langosh",
        "did": null,
        "wallet_status": "unsync",
        "website_url": "http://corkery.info/iraida",
        "default_locale": "en",
        "sandboxed": false
    }
}

401

No access token was provided, please provide one in an Authorization header.

404

Profile not found