Messages

Upload a file to a one-time URL

The receiver for URLs from attachment-uploads. No API key: the t token in the query string is the credential. The body is the raw file bytes. A second upload to the same URL is refused, and so is any wrong or expired token, with the same 404.

put/uploads/{uploadId}

Request

  • Base URL: https://anjal.app
  • URL: https://anjal.app/uploads/{uploadId}
  • Auth: none required

Path parameters

uploadIdstring uuid required

Query parameters

tstring required

Upload token

Response

Stored

uploadedboolean
uploadIdstring uuid
filenamestring
sizeBytesinteger

Changes

No recorded changes to this operation across all 1 revision of this API.