Unlink a document from a contact
Clears the contact link only. The document and the stored file are preserved and remain reachable through `GET /documents`. Use `DELETE /documents/{id}` to remove the file itself.
Authorization
x-api-key<token>Your tenant API key
In: header
Path Parameters
identifierAccepts any of the following (matched in order): numeric ID, name, email, or CIF/tax identifier. The first matching contact is returned. Use the numeric ID for unambiguous lookups.
documentNumeric document ID
Document unlinked
Link an existing document to a contact
A document carries at most one contact link. Linking a document that already belongs to a different contact returns 409 rather than moving it — unlink it from the current contact first. Idempotent: linking a document already linked to this contact succeeds and changes nothing.
List an opportunity's documents
Returns the documents attached to this opportunity. A document may be attached to several opportunities, so the same document can appear under more than one.