We can't find the internet
Attempting to reconnect
Something went wrong!
Hang in there while we get back on track
Product: Smart Tech E+O
Get Policy Documents
GetPolicyDocuments($clientId: ID!)
- Product
- Smart Tech E+O
- Method
- POST
- Endpoint
-
Sandbox:
https://api-sandbox.corvusinsurance.com/qProduction:https://crowbar.corvusinsurance.com/q - Authentication
-
Send the headers
X-API-KEY, X-USER-EMAIL, X-USER-NAMEwith every request. See Authentication.
Arguments for GetPolicyDocuments
Required Required to submit OptionalPass these as variables.
| Name | Type | Required | Description |
|---|---|---|---|
| clientId | ID! | Required | Id of the client to make the request for |
See Create Client for the client id.
Response fields for GetPolicyDocuments
Select only the fields you need in the selection set.
| Name | Type | Description |
|---|---|---|
| client.policies.edges | [PolicyEdge] | List of policy ids (node.id), and documents URLs (node.policyData) |
Policy documents by category
policyDocuments(policyId: $policyId, documentCategory: $documentCategory)
- Product
- Smart Tech E+O
- Method
- POST
- Endpoint
-
Sandbox:
https://api-sandbox.corvusinsurance.com/qProduction:https://crowbar.corvusinsurance.com/q - Authentication
-
Send the headers
X-API-KEY, X-USER-EMAIL, X-USER-NAMEwith every request. See Authentication.
policyData
for every policy on the client's account.
Arguments for policyDocuments
Required Required to submit OptionalPass these as variables.
| Name | Type | Required | Description |
|---|---|---|---|
| policyId | ID! | Required | Id of the policy. It must belong to your brokerage, otherwise not_found is returned |
| documentCategory | DocumentCategory! | Required | Which documents to return: one of POLICY_DOCS, INVOICES, UW_DOCS or COMMUNICATIONS |
The
documentCategory
is one of:
POLICY_DOCS: policy documents, such as the binder and policy, plus the quote documents for the quote requestINVOICES: invoicesUW_DOCS: underwriting documents attached to the quote requestCOMMUNICATIONS: always returns an empty list
Response fields for policyDocuments
Select only the fields you need in the selection set.
| Name | Type | Description |
|---|---|---|
| policyDocuments.id | ID! | Id of the document |
| policyDocuments.name | String! | File name of the document |
| policyDocuments.insertedAt | DateTime! | When the document was added |
| policyDocuments.url | String! | Download URL; it expires after about five minutes |