Certificates

Asset Certificates Management

Get certificates for a pro asset

get

Get certificates associated with the specified pro asset

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstring · uuidRequired

Pro asset id

Responses
chevron-right
200

OK

application/json
get
/assets/{id}/certificates

Add new pro asset certificate

post
  • Add new certificate for the pro asset

  • Rate Limiting : 20 requests per minute per Token per IP address.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstring · uuidRequired

Pro asset id

Body

Request body to create a certificate by uploading a PDF file, an image file, or fetching it from a URL. Exactly one source must be provided.

lab_codestring · max: 64Required

Short code identifying the issuing laboratory (e.g. GIA, IGI).

certificate_nostring · max: 32Required

Unique certificate or report number issued by the lab.

file_pdfstring · byteOptional

Base64-encoded PDF certificate file (application/pdf).

file_imagestring · byteOptional
  • Base64-encoded image certificate file (image/jpeg, image/png, image/jpg, image/webp).
  • Extensiosn allowed: jpeg, png, jpg, webp
source_urlstring · uri · max: 256Optional

Public URL from which the certificate file (PDF or image) can be fetched.

Responses
chevron-right
200

Certificate created successfully

application/json
post
/assets/{id}/certificates

Update existing pro asset certificate

put

Update existing certificate for the pro asset

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstring · uuidRequired

Pro asset id

Body

Request body to update an existing certificate identified by current lab_code and certificate_no, and replace it with new certificate details.

Responses
chevron-right
200

Certificate updated successfully

application/json
put
/assets/{id}/certificates

Delete existing pro asset certificate

delete

Delete existing certificate for the pro asset

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstring · uuidRequired

Pro asset id

Body
lab_codestring · max: 64Required

Short code identifying the issuing laboratory (e.g. GIA, IGI).

certificate_nostring · max: 32Required

Unique certificate or report number issued by the lab.

Responses
chevron-right
200

Certificate deleted successfully

application/json
delete
/assets/{id}/certificates

Last updated