Attachments:v1:Files

Generate download URL

Generates a time limited URL for downloading a file.

post/attachments/v1/files/download-url

Request

  • Base URL
    https://api.connecteam.com
  • URL
    https://api.connecteam.com/attachments/v1/files/download-url
  • Auth
    • API key in header X-API-KEY
    • or OAuth 2
      Client credentials
      Token URL: /oauth/v1/token scopes: attachments.read

Request body

fileUrlstring required

The full URL of the file to generate a download URL for

expirationInSecondsinteger

The expiration time of the URL in seconds (min: 5, max: 86400 / 24 hours)

Response

Successful Response

requestIdstring

Changes

No recorded changes to this operation across all 2 revisions of this API.