Sales Engine
API documentation
ProjectsOperation projects.files.link

Projects files link

A signed link to the file, valid ten minutes.

GET/api/v1/projects/{id}/files/{fileId}/link
Scope read: Read anything in the workspace.

Parameters

Path

NameInDescription
idrequiredpathThe record's id.
fileIdrequiredpathThe record's id.

Query

NameInDescription
downloadquery1 to download instead of open.

Example

curl
curl -X GET "https://crm.ashwanth.dev/api/v1/projects/{id}/files/{fileId}/link" \
  -H "Authorization: Bearer $SALES_ENGINE_API_KEY"
CLI
sales-engine projects files link <id> <fileId>

Response

A 200 with the result under data, on creation too. Errors come back as an error object with a stable code; see Errors.

Shape
{
  "data": { ... }
}

Run it below to see the live shape for your workspace.

Try it

Runs against this server, as the workspace behind the key.
Kept in this page while you browse the docs, gone on reload, never stored. Signed in to the app? Leave it blank and the call runs as you.
Path
required
The record's id.
required
The record's id.
Query
1 to download instead of open.
Request
GET /api/v1/projects/%7Bid%7D/files/%7BfileId%7D/link
Fill the path first.

Also in Projects