CorefinityCorefinityDocs
Open the Control PanelControl Panel
Support · 3 of 15

Send a file to an upload

Sends the file an upload was opened for, to the url the upload answered, exactly as given: the request carries no token, and the signed address is its only credential until the upload's url_expires_at. Send the whole file as the body of one request, exactly size_bytes long and with its Content-Length; the file is taken once, and a second request is refused. At most 30 of these requests a minute are taken from one address.

PUT/api/support/ticket-uploads/{upload}

Path parameters

uploadstringRequired

The upload_id of the upload, as part of the url it answered. Format: uuid.

Query parameters

expiresstringRequired

Part of the signed address. Send it as given.

signaturestringRequired

Part of the signed address. Send it as given.

Content-LengthintegerRequired

The size of the file in bytes: exactly the upload's size_bytes. At least 1.

Body

The body is application/octet-stream. The request example shows its shape.

Returns

200 The file was stored and waits for a reply to attach it.

Fields of the 200 answer
expires_atstringRequired

Format: date-time.

filenamestringRequired
mime_typestring or nullRequired
size_bytesintegerRequired
upload_idstringRequired

Format: uuid.

If it is refused

StatusReasonWhat to do
403invalid_signatureThis upload address has changed or expired. Open a new upload.
404noneCheck the id. You see only what your account can reach.
409already_receivedThis upload has its file already. Open a new upload for another file.
422invalidFix the field named in field; errors says why.
429rate_limitedWait for the seconds in Retry-After.

Reasons are listed by name in Errors and refusals.

The same task elsewhere

curl -X PUT 'https://manage.corefinity.com/api/support/ticket-uploads/0d9c1a4e-6f1b-4f5e-9b8a-2d7c3e4f5a6b?expires=string&signature=string' \
  -H "Authorization: Bearer $COREFINITY_TOKEN" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '"string"'
{
  "expires_at": "2026-11-04T16:40:11Z",
  "filename": "checkout-error.png",
  "mime_type": "image/png",
  "size_bytes": 184320,
  "upload_id": "0d9c1a4e-6f1b-4f5e-9b8a-2d7c3e4f5a6b"
}
Try it

Try it is off for this endpointIt has not been cleared for the console. Copy the request and run it yourself when you are sure.

Was this helpful?
Open in ClaudeOpen in ChatGPT