POST
/fileUpload
curl \
--request POST 'https://rest.api.24sevenoffice.com/v1/fileUpload' \
--header "Content-Type: application/json" \
--header "Authorization: string" \
--data '{"contentType":"application/pdf"}'
Request examples
# Headers
Authorization: string
# Payload
{
"contentType": "application/pdf"
}
Response examples (200)
# Headers
Access-Control-Allow-Origin: string
Access-Control-Allow-Credentials: string
X-Trace-Id: string
# Payload
{
"uploadMethod": "PUT",
"uploadUrl": "https://attachment.api.24sevenoffice.com/upload/abc123?signature=xyz",
"fileId": 67890
}