v1

latestOpenAPI 3.1.02026-07-2466150275.0 KB
Certificates

Upload Certificate Side

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

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

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

Path parameters

certificate_idinteger required
side'front' | 'back' required

Enumeration representation of certificate sides.

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"
  }
}