We can't find the internet
Attempting to reconnect
Something went wrong!
Hang in there while we get back on track
Get Clients
These operations work for both Smart Cyber and Smart Tech E+O.
clients(first: $first, after: $after)
- 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.
productTypes
lists the product lines associated with the client.
Arguments
Required Required to submit OptionalPass these as variables.
| Name | Type | Required | Description |
|---|---|---|---|
| first | Int | Required | Number of clients to return, up to 100 |
| after | String | Optional | Cursor to continue from; use pageInfo.endCursor from the previous page |
-
client(id: $id)returns one client. The user in theX-USER-EMAILheader must be on the client's broker team. -
clients(first: $first, after: $after)returns the clients whose broker team includes that user, oldest first, up to 100 per page.
Response fields
Select only the fields you need in the selection set.
| Name | Type | Description |
|---|---|---|
| clients.edges.node.id | ID! | Id of the client |
| clients.edges.node.name | String! | Name of the client |
| clients.edges.node.primaryWebsite | String | Primary website of the client |
| clients.edges.node.productTypes | [ProductType!]! | Product lines associated with the client |