Credentials
This endpoint sends a credential to a user based on their profileId
Successful response
Invalid input data
Authorization not provided
Insufficient access
Internal server error
POST /api/credential/send/{profileId} HTTP/1.1
Host: ..
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 786
{
"credential": {
"@context": [
"text"
],
"id": "text",
"type": [
"text"
],
"issuer": "text",
"credentialSubject": {
"id": "text",
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"refreshService": {
"id": "text",
"type": "text",
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"credentialSchema": {
"id": "text",
"type": "text",
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"issuanceDate": "text",
"expirationDate": "text",
"credentialStatus": {
"type": "text",
"id": "text",
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"name": "text",
"description": "text",
"validFrom": "text",
"validUntil": "text",
"status": {
"type": "text",
"id": "text",
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"termsOfUse": {
"type": "text",
"id": "text",
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"evidence": {
"type": "text",
"id": "text",
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}
text
This endpoint accepts a credential
Successful response
Invalid input data
Authorization not provided
Insufficient access
Internal server error
POST /api/credential/accept HTTP/1.1
Host: ..
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 51
{
"uri": "text",
"options": {
"skipNotification": false
}
}
true
This endpoint returns the current user's received credentials
25
Successful response
Invalid input data
Authorization not provided
Insufficient access
Not found
Internal server error
GET /api/credentials/received HTTP/1.1
Host: ..
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"uri": "text",
"to": "text",
"from": "text",
"sent": "2025-08-13T18:27:51.820Z",
"received": "2025-08-13T18:27:51.820Z"
}
]
This endpoint returns the current user's sent credentials
25
Successful response
Invalid input data
Authorization not provided
Insufficient access
Not found
Internal server error
GET /api/credentials/sent HTTP/1.1
Host: ..
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"uri": "text",
"to": "text",
"from": "text",
"sent": "2025-08-13T18:27:51.820Z",
"received": "2025-08-13T18:27:51.820Z"
}
]
This endpoint returns the current user's incoming credentials
25
Successful response
Invalid input data
Authorization not provided
Insufficient access
Not found
Internal server error
GET /api/credentials/incoming HTTP/1.1
Host: ..
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"uri": "text",
"to": "text",
"from": "text",
"sent": "2025-08-13T18:27:51.820Z",
"received": "2025-08-13T18:27:51.820Z"
}
]
This endpoint deletes a credential
Successful response
Invalid input data
Authorization not provided
Insufficient access
Not found
Internal server error
DELETE /api/credential?uri=text HTTP/1.1
Host: ..
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
true
Was this helpful?