CrowBar | Get Clients | Corvus Skip to main content

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/q Production: https://crowbar.corvusinsurance.com/q
Authentication
Send the headers X-API-KEY, X-USER-EMAIL, X-USER-NAME with every request. See Authentication.
productTypes lists the product lines associated with the client.

Arguments

Required Required to submit Optional

Pass these as variables.

Get Clients arguments
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 the X-USER-EMAIL header 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.

Get Clients response fields
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