ibl-data-manager (3.59.0-ai-plus)
API for iblai
Request
Public endpoint to retrieve a specific credential assertion by its entity ID.
This endpoint allows public access to view a specific credential assertion without authentication.
Path Parameters: entity_id (str): The assertion entity ID
Returns: A JSON response containing the assertion details using the AssertionSerializer format
Error Responses: 404 Not Found:
- If the assertion doesn't exist: Empty response with 404 status
- If the assertion has been revoked: JSON with error detail and revocation reason 500 Internal Server Error: If an unexpected error occurs
- Mock server
https://docs.ibl.ai/_mock/apis/ibl/api/credentials/public/assertions/{entity_id}/
https://base.manager.iblai.app/api/credentials/public/assertions/{entity_id}/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.ibl.ai/_mock/apis/ibl/api/credentials/public/assertions/{entity_id}/'
Response
application/json
{ "entityId": "string", "issuedOn": "string", "credentialDetails": { "property1": "string", "property2": "string" }, "recipient": { "property1": "string", "property2": "string" }, "metadata": null, "course": { "property1": "string", "property2": "string" }, "program": { "property1": "string", "property2": "string" }, "narrative": "string", "revoked": true, "revocationReason": "string", "acceptance": "Unaccepted", "expires": "string" }