Get version certificate

Seamlessly access the certificate file in PDF format, contributing to a secure and time-sensitive certification retrieval process.

End Point

{{base_url}}/get-version/{{versionId}}/certificate

API Description

This API endpoint, accessible through the specified URL, facilitates the retrieval of a download link for the PDF file corresponding to the certificate associated with a specific version identified by <version_id>.

/get-version/<version_id>/certificate

Usage Notes:

  • The provided link directs users to download the PDF file encapsulating the certificate details.

  • It is crucial to acknowledge that the download link holds validity for a limited duration, precisely 60 seconds. Users are advised to promptly utilize the link to ensure timely access to the certificate.

By utilizing this API, users can seamlessly access the certificate file in PDF format, contributing to a secure and time-sensitive certification retrieval process.

Method

POST

Attributes

AttributeTypeDescription

status

Integer

The HTTP status code indicating the success or failure of the request.

message

String

A message providing additional information about the status of the request.

result

Array of Objects

Contains an array of objects with information about the submitted file(s).

result.certificateLink

String

The link to the certificate. It is a URL pointing to the location of the certificate file.

Request

curl --location -g --request POST '{{base_url}}/get-version/76233ed6-b9d0-46b5-bd4c-5cda20d7c622/certificate' \
--header 'Authorization: SECRET {{secret_key}}'

Response

{
  "status": 201,
  "message": "success",
  "result": {
    "certificateLink": "https://myipr.s3.amazonaws.com/Bvarsha2.1/Myipr-certificate-Bvarsha2.1_1260ac.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAV6B6R4UDILBTLQZ5%2F20231124%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231124T055900Z&X-Amz-Expires=60&X-Amz-Signature=3c7f17f2571474ae128bde67d2b3fc3172971e1930fa02da5ca764f36aa033b4&X-Amz-SignedHeaders=host&response-content-disposition=attachment"
  }
}

Last updated