Projects files link
A signed link to the file, valid ten minutes.
GET/api/v1/projects/{id}/files/{fileId}/link
Parameters
Path
| Name | In | Description |
|---|---|---|
idrequired | path | The record's id. |
fileIdrequired | path | The record's id. |
Query
| Name | In | Description |
|---|---|---|
download | query | 1 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
requiredThe record's id.
requiredThe 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.