(v2) Download a File

Downloads a specific file. The file ID (id) and token are typically obtained from event or profile data returned by search/synchronise endpoints.

File attachment URLs are returned in the attachmentUrl array of event responses in this format:

{
  "attachmentUrl": "https://demo.smartabase.com/x/FileDownloadServlet?id=...",
  "name": "example.txt",
  "description": ""
}

The token parameter should use the skypeName value from the login response.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string
required

The file ID from the attachment URL

string
required

The skypeName value from the authentication response

Headers
string
required

The current session token. Returned by most API calls and must be passed on all subsequent v2/v3 calls.

string

A unique identifier for your application. Helps Teamworks support staff identify your requests if you need assistance.

Response
200

File contents

Language
Credentials
Basic
base64
:
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here!