Attachment
Link file to record
POST
Put a library file on a contact, company, deal, quote, invoice, lead or quote line, so it shows in that record's Attachments. The file stays on any record it was already on. On a quote it also goes out with the quote PDF and share link.
Required scopes: contacts:write. Runs at once.
bearerAuthheader
AuthorizationBearer <token>An API key (flito_pat_…) from Settings, API & AI connections.
application/json- body
input*idempotencyKey?stringSend the same key to retry safely: the second call returns the first result.
Length
length <= 255The capability ran.
application/json- response
result*unknownThe capability’s output.
commitId?|The config commit, for versioned records.
eventId?string|nullidempotentReplay?booleanTrue when this answer is a replay of an earlier call.
curl -X POST 'https://crm.yourcompany.com/api/cap/attachment.link' \ -H 'Content-Type: application/json' \ -d '{ "input": { "id": "string", "objectType": "contact", "objectId": "string" }}'Example Response
{ "result": null, "commitId": "string", "eventId": "string", "idempotentReplay": true}Was this page useful?