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": "[email protected]", "language": "en", "timezone": "Europe/London", "occupation": "Marketing Manager", "location": "London", "isBanned": false, "role": { "alias": "learner" }, "fromApi": false, "image": null, "attributes": {} } }
Get a certificate by ID
Show User Object
Show Error object properties
Was this page helpful?