Get AWS S3 Signature
GET /public/v1/form/s3/signature
Query Parameters
| Key | Type | Required | Rule | Description |
|---|---|---|---|---|
| id | string | Mandatory | length 4 | id of the document, randomly generated by front-end |
| content_type | string | Mandatory | content type of document | |
| document | string | Mandatory | document's name | |
| form_id | string | Mandatory | length 8 | form id |
Content Type Values
image/png, image/jpeg, image/bmp, image/vnd.microsoft.icon, image/x-icon, application/pdf, application/vnd.ms-excel, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, text/csv, application/msword, application/vnd.openxmlformats-officedocument.wordprocessingml.document, text/plain, application/gzip, application/x-gzip
Expected HTTP status code
- 200
Response
| Name | Type | Description |
|---|---|---|
| url | string | upload url |
| fields | object | upload details |
Tip
Uploading documents to S3 via presented url, please refer to this AWS Documentation.