Skip to main content

Attach a file

POST 

/files

Register a file against one or more records.

This endpoint stores metadata only — url must already point at the uploaded bytes. Upload to your storage first, then call this with the resulting URL.

Attach the file by listing record ids in contact_ids, company_ids, deal_ids and/or ticket_ids; at least one id across those lists is required. Write access requires a write scope on each record type you attach to.

Request​

Responses​

The attached file