Skip to main content
POST
Set Worker Document Viewable
Set worker_viewable to 1 to allow the worker to see this document, or 0 to hide it.

Authorizations

X-API-KEY
string
header
required

Path Parameters

id
string
required

Worker ID

document_id
string
required

Document ID

Body

application/json
worker_viewable
enum<integer>
required

Whether the worker can view this document. 1 = viewable, 0 = hidden.

Available options:
0,
1

Response

Viewable status updated successfully