QEHSQEHS

Developer portal

Request upload URL

Request a signed URL for direct-to-storage attachment upload.

POST/api/v1/attachments
attachments

Parameters

NameInTypeRequiredDescription
recordIdBodystringrequiredRecord ID.
filenameBodystringrequiredFile name with extension.
contentTypeBodystringrequiredMIME type.

Code samples

curl -s -X POST 'https://app.qehsethos.com/api/v1/attachments' \
  -H 'Authorization: Bearer $QEHS_API_KEY' \
  -H 'Content-Type: application/json'