v1

latestOpenAPI 3.1.02026-07-2466150275.0 KB
Certificates

Upload Certificate

Upload an image of the certificate front and/or back to an existing certificate.

Supported filetypes are: .jpeg, .jpg, .png, .pdf, .docx, .mp4, .mov and .m4v.

This endpoint supports uploading the front and back of the certificate at the same time. If certificate_back is omitted, the back will not be modified. To remove the back of the certificate, you must also set certificate_back_remove=true

If both the certificate_back and certificate_back_remove are specified, then certificate_back will take priority and certificate_back_remove will be ignored.

put/v1/certificate/{certificate_id}/upload/

Path parameters

certificate_idinteger required

Response

Successful Response

errorboolean

A boolean error indicator.

messagestring nullable

Optional message.

Example response

{
  "data": {
    "type": "First Aid",
    "userId": 1,
    "expiryDate": "2027-07-17T21:40:53.248392",
    "trainingCompanyId": 13,
    "approved": true,
    "approvedByUserId": 13,
    "offline": true,
    "providerId": 15,
    "id": 1,
    "url": "/upload/example-certificate.jpg",
    "urlBack": "/upload/example-certificate-back.jpg"
  }
}