Skip to main content
GET
/
files
/
{file_uid}
Get details and temporary download URL for a specified uploaded file.
curl --request GET \
  --url https://app.timelines.ai/integrations/api/files/{file_uid} \
  --header 'Authorization: Bearer <token>'
{
  "status": "ok",
  "data": {
    "temporary_download_url": "http://acme.com/somefile.png",
    "uid": "90d353e6-44c1-48ff-b15b-69b7721e5450",
    "filename": "somefile.png",
    "size": 10000,
    "mimetype": "image/png",
    "uploaded_by_email": "john.doe@acme.com",
    "uploaded_at": "2023-06-18 15:19:23 +0300"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

file_uid
string
required

A UID for an uploaded file, unique within the TimelinesAI workspace, which can be used to reference the file in Public API methods for sending messages with attachments.

Response

Success

status
enum<string>
required
Available options:
ok,
error
Example:

"ok"

data
object
required