Getting a Link to Download a Certificate
AVAILABLE WITH BUSINESS SUBSCRIPTION
Request: GET / certificate
Using this method, you can get a link to download a certificate for a specific enrollment. You don’t need to download certificates for all enrollments.
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.
Request Headers
Header | Description |
---|---|
X-Auth-Account-Url (required) | The base URL of the account, e.g. https://myaccount.ispringlearn.com |
X-Auth-Email (required) | The login of Account Owner, Account Administrator, or Department Administrator. |
X-Auth-Password (required) | The password of Account Owner, Account Administrator, or Department Administrator. |
Parameter | Description |
issuedCertificateId | The certificate ID (token) from the list of enrollments. |
Response Parameters
Parameter | Description |
---|---|
issuedCertificate | 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.ispringlearn.com/certificate/66b4ed00-040e-11ed-a8a2-b6f58d6fa7b5
XML
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>
XML