Presentations
This endpoint sends a presentation to a user based on their profileId
Successful response
Invalid input data
Authorization not provided
Insufficient access
Internal server error
POST /api/presentation/send/{profileId} HTTP/1.1
Host: ..
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 1294
{
"presentation": {
"@context": [
"text"
],
"id": "text",
"type": "text",
"verifiableCredential": {
"@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"
},
"proof": {
"type": "text",
"created": "text",
"challenge": "text",
"domain": "text",
"nonce": "text",
"proofPurpose": "text",
"verificationMethod": "text",
"jws": "text",
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"holder": "text",
"proof": {
"type": "text",
"created": "text",
"challenge": "text",
"domain": "text",
"nonce": "text",
"proofPurpose": "text",
"verificationMethod": "text",
"jws": "text",
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}
text
This endpoint accepts a presentation
Successful response
Invalid input data
Authorization not provided
Insufficient access
Internal server error
POST /api/presentation/accept HTTP/1.1
Host: ..
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 14
{
"uri": "text"
}
true
This endpoint returns the current user's received presentations
25
Successful response
Invalid input data
Authorization not provided
Insufficient access
Not found
Internal server error
GET /api/presentation/received HTTP/1.1
Host: ..
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"uri": "text",
"to": "text",
"from": "text",
"sent": "2025-08-14T20:55:24.413Z",
"received": "2025-08-14T20:55:24.413Z"
}
]
This endpoint returns the current user's sent presentations
25
Successful response
Invalid input data
Authorization not provided
Insufficient access
Not found
Internal server error
GET /api/presentation/sent HTTP/1.1
Host: ..
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"uri": "text",
"to": "text",
"from": "text",
"sent": "2025-08-14T20:55:24.413Z",
"received": "2025-08-14T20:55:24.413Z"
}
]
This endpoint returns the current user's incoming presentations
25
Successful response
Invalid input data
Authorization not provided
Insufficient access
Not found
Internal server error
GET /api/presentation/incoming HTTP/1.1
Host: ..
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"uri": "text",
"to": "text",
"from": "text",
"sent": "2025-08-14T20:55:24.413Z",
"received": "2025-08-14T20:55:24.413Z"
}
]
This endpoint deletes a presentation
Successful response
Invalid input data
Authorization not provided
Insufficient access
Not found
Internal server error
DELETE /api/presentation?uri=text HTTP/1.1
Host: ..
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
true
Was this helpful?