Skip to main content

List a document's distribution list.

GET/api/v1/documents/{document_id}/distribution-entriesdocuments:read

The users and contacts queued to receive the document, with the address each is sent to and, once sent, the email's sent, read and downloaded times from its tracking. Needs View Document Distributions and read access to the document, as the Portal's list does.

Scopedocuments:read
AsynchronousNo
MCP toollist_document_distribution_entries
Portal permissionsview_document_distributions
Pagingkeyset
Default orderdistribution_entry_id
Sort fieldsdistribution_entry_id

Parameters​

NameInTypeRequiredDescription
document_idpathstringRequired
limitqueryintegerOptionalDefault: 50; ≥ 1
cursorquerystringOptional
sortquerystringOptionalComma-separated sort fields, - for descending.
Docwize-Versionheaderstring (date)Optional
If-None-MatchheaderstringOptionalAnswers 304 when the representation is unchanged (resources that publish an ETag).

Responses​

StatusDescriptionBody
200Success.application/json object
304Not modified (If-None-Match matched the ETag).
400invalid_versionapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
404not_foundapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
410cursor_expiredapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422invalid_cursor, validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

200 body​

FieldTypeRequiredDescription
itemsarray of DistributionEntryRequired
next_cursorstring or nullRequired
warningsarray of objectRequired

Errors​

The problem codes this operation can answer with. Each code links to its page.

Schemas​

DistributionEntry​

FieldTypeRequiredDescription
action_request_idstring or nullRequiredThe action request the recipient's email asks for, when one applies.
contact_idstring or nullRequired
distribution_entry_idstringRequired
distribution_idstring or nullRequiredThe email this entry was sent in; null while unsent.
downloaded_atstring (date-time) or nullRequiredWhen the recipient followed a download link; null if not yet.
email_addressstring or nullRequiredThe address the document is sent to; null when the user or contact has none.
is_sentbooleanRequired
queued_atstring (date-time) or nullRequired
read_atstring (date-time) or nullRequiredWhen the recipient opened the email; null if not yet.
sent_atstring (date-time) or nullRequiredWhen the mail provider accepted the email; null while unsent.
typestringRequireduser or contact (an open enum): which of user_id or contact_id names the recipient.
user_idstring or nullRequired