Upload File

POST /public/v1/upload

Headers

  • X-COMPANY-ID string Required

    The company's unique ID

Query parameters

  • files array[string(binary)] Required

Responses

  • 500 */*

    Internal Server Error

  • 200 */*

    OK

    Hide response attributes Show response attributes object
    • fileId string(uuid)
    • message string
POST /public/v1/upload
curl \
 --request POST 'https://live.smartpmtech.com/public/v1/upload?files=%40file' \
 --header "X-API-KEY: $API_KEY" \
 --header "X-COMPANY-ID: string"
Response examples (500)
{}
Response examples (200)
{
  "fileId": "string",
  "message": "string"
}