Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 3.08 KB

File metadata and controls

24 lines (18 loc) · 3.08 KB

GetInboxPreSignedUrlResponse

Pre-signed URL generated successfully

Example Usage

import { GetInboxPreSignedUrlResponse } from "@midday-ai/sdk/models/operations";

let value: GetInboxPreSignedUrlResponse = {
  url:
    "https://service.midday.ai/storage/v1/object/sign/vault/inbox/document.pdf?token=abc123&expires=1640995200",
  expiresAt: new Date("2024-04-15T10:01:00.000Z"),
  fileName: "invoice.pdf",
};

Fields

Field Type Required Description Example
url string ✔️ Pre-signed URL for accessing the inbox attachment, valid for 60 seconds https://service.midday.ai/storage/v1/object/sign/vault/inbox/document.pdf?token=abc123&expires=1640995200
expiresAt Date ✔️ ISO 8601 timestamp when the URL expires 2024-04-15T10:01:00.000Z
fileName string ✔️ Original filename of the inbox attachment invoice.pdf