Artboard
FileMaker Files

Get a file download link

Calling this endpoint will make a copy or clone of a file and send back a link which can be used to download a zip of the file. Use the "Get a file with a download link" endpoint to download the file.

GET
/otto/api/fm-file/{filename}/link

Path Parameters

filename*string

FileMaker File Name ending with .fmp12 or .fmp12.zip

Match.fmp12

Query Parameters

clone?string

Use 1 to download a clone

Default"0"
Value in"0" | "1"
expiry?string

The expiry time of the link (e.g. '10m', '1h')

Default"10m"

Response Body

application/json

application/json

curl -X GET "https://your.server.net/otto/api/fm-file/string/link"
{
  "response": {
    "link": "string"
  },
  "messages": [
    {
      "code": 0.1,
      "text": "ok"
    }
  ]
}
{
  "response": {},
  "messages": [
    {
      "code": 18011,
      "text": "OttoFMS sample error"
    }
  ]
}