Retrieve detailed information about a specific certificate.
Path Parameters
The unique identifier of the certificate
API Key. Go to your Konstantly site > Settings > API and copy the value from there.
Response
URL to the certificate image
Timestamp of certificate issue
Timestamp when the certificate expires
User who has got the certificate
Interface language (de, en, es, fr, pl, pt, ru)
User timezone in TZ format
Error Responses
Returned when the certificate is not found
curl --request GET \
--url 'https://YOURSITE.konstant.ly/openapi/v1/certificates/123' \
--header 'X-API-KEY: 1qaz2wsx3edc4rfv1qaz2wsx3edc4rfv'
{
"id": 123,
"name": "Course Completion Certificate",
"description": "Certificate of completion for Advanced Marketing Course",
"courseId": 2,
"courseName": "Advanced Marketing",
"imageUrl": "http://s3.amazonaws.com/qwerty/certificate.png",
"achievedAt": 1234567890,
"expiresAt": 1334567890,
"user": {
"id": "1234567890",
"name": "John Smith",
"email": "john@example.com",
"language": "en",
"timezone": "Europe/London",
"occupation": "Marketing Manager",
"location": "London",
"isBanned": false,
"role": {
"alias": "learner"
},
"fromApi": false,
"image": null,
"attributes": {}
}
}