Create documents on the company an answer request is about
Uploads documents as the answer to a DOCUMENTS question, filed on the company the request is about. The target company is taken from the request's onBehalfOfCompanyId and is deliberately not accepted in the body, so this grant cannot be aimed at any other company. Only the answering company (forCompanyId) may call it, and only while the brand that issued the request is still connected to it; anyone else gets 404 request_not_found, so the existence of another company's request is never confirmed. Where the generic POST /v3/company-documents/bulk-create requires the target to be in the caller's own network — which a delegated answering party never is — this route treats the request itself as the authorization. Each document is filed on the subject company with the caller as its owner, is never public, and is auto-shared with the brand that asked, which is what makes it visible to all three parties. Files must belong to the caller; any that do not are skipped rather than failing the batch. Responds 201 with the created ids.
Path parameters
Request body
Response
Default Response
Changes
Changed in 2 of the 49 revisions of this API.726
- ▲
request property
//list-of-types was narrowed by removing typesnullfrom media typeapplication/jsonrequest-property-list-of-types-narrowed
- ▲
request property
//list-of-types was narrowed by removing typesnullfrom media typeapplication/jsonrequest-property-list-of-types-narrowed
- ▲
the
//request property's minLength was increased from0to1request-property-min-length-increased
- ▲
the
//request property's minLength was increased from0to1request-property-min-length-increased
- ▲
the response property
///became nullable for the statusresponse-property-became-nullable
- ▲
the response property
///became nullable for the statusresponse-property-became-nullable
- ▲
the response property
///became nullable for the statusresponse-property-became-nullable
- ●
the
//request property's maxLength was set to255request-property-max-length-set
- ●
the
//request property's maxLength was set to255request-property-max-length-set
- ○
the request property
//became nullablerequest-property-became-nullable
- ○
the request property
//became nullablerequest-property-became-nullable
- ○
response property
data/documents/items/documentTypeIdlist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response201response-property-list-of-types-narrowed
- ○
response property
data/documents/items/fileIdlist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response201response-property-list-of-types-narrowed
- ○
response property
data/documents/items/namelist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response201response-property-list-of-types-narrowed
- ▲
- ○
endpoint added
endpoint-added
- ○
Of the 49 revisions, 1 has no diff computed.