Getting a Link to Download a Certificate
AVAILABLE WITH BUSINESS SUBSCRIPTION
Method: getIssuedCertificate
Permissions to Run the Request
Account Owner, Account Administrators, Department Administrators or custom roles that allow to view users.
Department Administrators, and users with a custom role can get list of enrollments assigned to learners belonging to the departments they manage and their sub-departments.
Parameters
Parameter | Type | Description |
---|---|---|
token (required) | string | Access token. You can obtain a token by making a request. |
issuedCertificateId | string | The certificate ID (token) from the list of enrollments. |
Return Value
After the request has been successfully processed, the system returns an object with the following properties:
Parameter | Type | Description |
---|---|---|
issuedCertificate | string | Link to download the certificate as a PDF. |
Note:
- You can only get the certificate for active assignments. The certificates for archived and deleted enrollments can not be downloaded using this method.
- You can receive certificate issued for courses, learning tracks and standalone materials.
The link to download the certificate is available during the token’s validity period of 10 minutes.
If there is a token, then the updated certificate is downloaded.
If the token expires, then the download link does not work. You need to generate a new download token.
Sample Request
https://api-learn.myaccount.ispringlearn.com/certificate/66b4ed00-040e-11ed-a8a2-b6f58d6fa7b5
Sample Response
<?xml version="1.0" encoding="UTF-8"?>
<response>
<issuedCertificate>
<url>https://myaccount.ispringlearn.com/download/v1/certificate/66b4ed00-040e-11ed-a8a2-b6f58d6fa7b5?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE2NTc4NzA5ODgsImFjY291bnRfaWQiOiJsbnRlc3RwbHVtLTMiLCJjZXJ0aWZpY2F0ZV9pZCI6IjY2YjRlZDAwLTA0MGUtMTFlZC1hOGEyLWI2ZjU4ZDZmYTdiNSJ9.RpqXKww402OrSHYjDM8UfOBv7341G45aEdoo6_ZbefM</url>
</issuedCertificate>
</response>