POST /rest/v1.1/companies/{company_id}/projects/{project_id}/viewer_documents
Find or create an Annotated Document where markup may be added. Supports filtering by a single markup context (WORKFLOW, WORKSPACE, or PIN). When markup_context is PIN, pin_origin (WORKFLOW or WORKSPACE) is required. Pass markup_context=NO_CONTEXT to skip markup retrieval entirely and receive only the viewer document, document descriptor, and permissions.
Servers
- https://api.procore.com
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
project_id |
String | Yes | |
company_id |
String | Yes |
Request headers
| Name | Type | Required | Description |
|---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Procore-Company-Id |
Integer | Yes |
Unique company identifier associated with the Procore User Account. |
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
combined_xfdf |
Boolean | No |
Default value: true |
pin_origin |
String | No | |
markup_context |
String | No | |
layer_type |
String | No |
Request body fields
| Name | Type | Required | Description |
|---|---|---|---|
attachment_source |
String | No | |
attachment_id |
String | No | |
item_type |
String | Yes | |
item_id |
String | Yes |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.