Get Credential
Related workflow: Working with Beams and credentials
GET
Retrieve a credential and its metadata by credential ID.
apiKeyheader
apikey<token>id*stringThe credential with its data and status.
application/json- response
id*stringThe id of the Credential
name*stringThe name of the Credential
createdAt*stringThe creation date of the Credential
Format
date-timetypeId*stringThe id of the credential type used to create the credential
userId*stringThe id of the user the credential was issued to
organizationId*stringThe id of the organization that issued the credential
data*objectThe raw credential data
status*objectThe status of the credential. One of "PENDING", "ACTIVE" or "REVOKED"
curl -X GET 'https://api.cerebrum.com/v1/credential/string' \ -H 'apikey: CEREBRUM_API_KEY'Example Response
{ "id": "string", "name": "string", "createdAt": "2019-08-24T14:15:22Z", "typeId": "string", "userId": "string", "organizationId": "string", "data": {}, "status": { "value": "ACTIVE" }}