post/misc/upload

Request

  • Base URL
    https://dc-region.zuperpro.com/api
  • URL
    https://dc-region.zuperpro.com/api/misc/upload
  • Auth
    API key in header x-api-key

Query parameters

attachment_typestring required
attachment_namestring
attachment_descriptionstring
attachment_visibilitystring
modulestring
module_uidstring
attachment_uidstring
handle_conflictsboolean
tagsstring
include_thumbnailboolean
thumbnail_resolutionstring
attachment_created_atstring

Headers

Content-Typestring
Content-Dispositionstring

form-data;name="attachment_type"

Response

200

typestring

Example response

{
  "type": "success",
  "data": {
    "attachment_uid": "2ed3666d-90cf-4cac-9f3d-80d4dac907b4",
    "attachment_path": "https://s3.ap-south-1.amazonaws.com/staging.in.pro.zuper/attachments/4ddf323f-19ed-4b56-1cc-70d0bdf628c5/73a95ff1-36a6-4de2-a858-4132af82f82c.pdf",
    "attachment_size": 9.012
  }
}

Changes