Developer portal
Request upload URL
Request a signed URL for direct-to-storage attachment upload.
POST
/api/v1/attachmentsattachments
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
recordId | Body | string | required | Record ID. |
filename | Body | string | required | File name with extension. |
contentType | Body | string | required | MIME 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'