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}/
Request
- Base URLhttps://developer.beta.salussafety.io
- URLhttps://developer.beta.salussafety.io/v1/certificate/{certificate_id}/upload/{side}/
- Auth
- HTTP bearer
- or OAuth 2Client credentialsToken URL: https://guardian.beta.salussafety.io/token
- or OAuth 2Authorization code: https://guardian.beta.salussafety.io/authorizeToken URL: https://guardian.beta.salussafety.io/token
Path parameters
certificate_idinteger required
side'front' | 'back' required
Enumeration representation of certificate sides.
Request body multipart/form-data
Response
Successful Response
Example response
{
"data": {
"type": "First Aid",
"userId": 1,
"expiryDate": "2027-10-19T22:47:16.828976",
"trainingCompanyId": 13,
"approved": true,
"approvedByUserId": 13,
"offline": true,
"providerId": 15,
"id": 1,
"url": "/upload/example-certificate.jpg",
"urlBack": "/upload/example-certificate-back.jpg"
}
}Changes
No recorded changes to this operation across all 2 revisions of this API.