Skip to Content
CerebrumDocs
GuidesAPI referenceTrust & security

Get Wallet User Credentials

Related workflow: Working with Beams and credentials

GET
/v1/wallet/users/{userId}/credentials

Return wallet credentials for a target user with pass, beam, organization, status, and attachment metadata.

Authorization

apiKey
headerapikey<token>

Path Parameters

userId*string

Response Body

The user's wallet credentials.

application/json
  1. response
userId*string
credentials*array<WalletUserCredentialResponse>
Example Request
curl -X GET 'https://api.cerebrum.com/v1/wallet/users/string/credentials' \  -H 'apikey: CEREBRUM_API_KEY'
Example Response
{  "userId": "string",  "credentials": [    {      "id": "string",      "createdAt": "2019-08-24T14:15:22Z",      "status": "PENDING",      "data": {},      "organization": {        "id": "string",        "name": "string"      },      "passId": "string",      "passType": {        "id": "string",        "name": "string",        "slug": "string"      },      "beam": {        "id": "string",        "name": "string"      },      "attachments": [        {          "id": "string",          "type": "string",          "name": "string",          "url": "string"        }      ]    }  ]}