Messages
Get a one-time URL to upload a file to
For attaching a real file without putting its bytes in a request an agent has to write out. Returns an uploadUrl. PUT the raw file to it with no API key, then attach it by passing { "uploadId": "..." } in attachments on a send, reply, reply-all, forward or draft call. One file, up to 10 MB, valid for 60 minutes, and single-use in both directions: it can be uploaded to once and attached once.
post/v1/inboxes/{id}/attachment-uploads
Request
- Base URL: https://anjal.app
- URL: https://anjal.app/v1/inboxes/{id}/attachment-uploads
- Auth: API key in header X-API-Key
Request body
Example request
{
"filename": "report.pdf",
"contentType": "application/pdf"
}Response
Upload slot created
Changes
No recorded changes to this operation across all 1 revision of this API.