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
- 201
- 400
- 401
- 403
- 422
The attached file
Malformed request
Missing or invalid token
Token lacks the required scope, or the user's role/permissions deny this action
Request failed schema validation