Retrieve a list of all certificates issued for a specific course.
Path Parameters
The unique identifier of the course
API Key. Go to your Konstantly site > Settings > API and copy the value from there.
Query Parameters
Entry number to start listing from
The number of entries to be listed
Response
Array of certificate objectsShow Certificate object properties
URL to the certificate image
Timestamp of certificate issue
Timestamp when certificate expires
User who received the certificateShow User object properties
Total number of certificates
Error Responses
Returned when the course is not foundShow Error object properties
curl --request GET \
--url https://YOURSITE.konstant.ly/openapi/v1/courses/123/certificates \
--header 'X-API-KEY: 1qaz2wsx3edc4rfv1qaz2wsx3edc4rfv'
{
"certificates": [
{
"id": 123,
"name": "Course Completion Certificate",
"description": "Certificate of completion",
"courseId": 2,
"courseName": "Advanced Sales Techniques",
"imageUrl": "http://s3.amazonaws.com/certificates/cert123.png",
"achievedAt": 1234567890,
"expiresAt": 1334567890,
"user": {
"id": "1234567890",
"name": "John Doe",
"email": "john@example.com",
"role": {
"alias": "learner"
}
}
}
],
"totalCount": 1
}