ibl-data-manager (3.59.0-ai-plus)
API for iblai
Request
Endpoint to issue and retrieve credential assertions for a specific credential.
This endpoint allows issuing new credential assertions and retrieving existing assertions for a specific credential.
Path Parameters: org (str): The organization/tenant identifier user_id (str): The user ID making the request entity_id (str): The credential entity ID
Methods: POST: Issue a new credential assertion GET: Retrieve assertions for a specific credential
POST Request Body: A JSON object containing recipient information and any additional metadata required for issuing the credential.
Returns: POST: A JSON response containing the created assertion using the AssertionSerializer format GET: A paginated list of assertions using the AssertionSerializer format
Error Responses: 400 Bad Request: If the request data is invalid 401 Unauthorized: If the user is not authenticated 403 Forbidden: If the user does not have permission to access this resource 404 Not Found: If the credential doesn't exist 500 Internal Server Error: If an unexpected error occurs
- Mock server
https://docs.ibl.ai/_mock/apis/ibl/api/credentials/orgs/{org}/users/{user_id}/{entity_id}/assertions/
https://base.manager.iblai.app/api/credentials/orgs/{org}/users/{user_id}/{entity_id}/assertions/
- 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/orgs/{org}/users/{user_id}/{entity_id}/assertions/' \
-H 'Authorization: YOUR_API_KEY_HERE'
{ "next": "string", "previous": "string", "count": 0, "num_pages": 0, "page_number": 0, "max_page_size": 0, "data": [ { … } ] }
Request
Endpoint to issue and retrieve credential assertions for a specific credential.
This endpoint allows issuing new credential assertions and retrieving existing assertions for a specific credential.
Path Parameters: org (str): The organization/tenant identifier user_id (str): The user ID making the request entity_id (str): The credential entity ID
Methods: POST: Issue a new credential assertion GET: Retrieve assertions for a specific credential
POST Request Body: A JSON object containing recipient information and any additional metadata required for issuing the credential.
Returns: POST: A JSON response containing the created assertion using the AssertionSerializer format GET: A paginated list of assertions using the AssertionSerializer format
Error Responses: 400 Bad Request: If the request data is invalid 401 Unauthorized: If the user is not authenticated 403 Forbidden: If the user does not have permission to access this resource 404 Not Found: If the credential doesn't exist 500 Internal Server Error: If an unexpected error occurs
- application/json
- application/x-www-form-urlencoded
- multipart/form-data
Unaccepted
- UnacceptedAccepted
- AcceptedRejected
- Rejected
- Mock server
https://docs.ibl.ai/_mock/apis/ibl/api/credentials/orgs/{org}/users/{user_id}/{entity_id}/assertions/
https://base.manager.iblai.app/api/credentials/orgs/{org}/users/{user_id}/{entity_id}/assertions/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://docs.ibl.ai/_mock/apis/ibl/api/credentials/orgs/{org}/users/{user_id}/{entity_id}/assertions/' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"entityId": "string",
"issuedOn": "string",
"metadata": null,
"narrative": "string",
"revoked": true,
"revocationReason": "string",
"acceptance": "Unaccepted",
"expires": "string"
}'
{ "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" }
Request
Endpoint to issue credential assertions in bulk for a specific credential.
This endpoint allows issuing credential assertions to multiple users at once.
Path Parameters: org (str): The organization/tenant identifier user_id (str): The user ID making the request entity_id (str): The credential entity ID
POST Request Body: A JSON object containing:
- users (list): List of usernames to issue the credential to
- Additional metadata required for issuing the credential
Returns: A JSON response containing: { "skipped": ["username1", "username3"], // Users that were skipped (e.g., already have the credential) "issued": ["username2", "username4"] // Users that were successfully issued the credential }
Error Responses: 400 Bad Request: If the request data is invalid or missing required fields 401 Unauthorized: If the user is not authenticated 403 Forbidden: If the user does not have permission to access this resource 404 Not Found: If the credential doesn't exist 500 Internal Server Error: If an unexpected error occurs
- application/json
- application/x-www-form-urlencoded
- multipart/form-data
- Mock server
https://docs.ibl.ai/_mock/apis/ibl/api/credentials/orgs/{org}/users/{user_id}/{entity_id}/assertions/bulk/
https://base.manager.iblai.app/api/credentials/orgs/{org}/users/{user_id}/{entity_id}/assertions/bulk/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://docs.ibl.ai/_mock/apis/ibl/api/credentials/orgs/{org}/users/{user_id}/{entity_id}/assertions/bulk/' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"skipped": [
null
],
"issued": [
null
]
}'
{ "skipped": [ null ], "issued": [ null ] }