We can't find the internet
Attempting to reconnect
Something went wrong!
Hang in there while we get back on track
Account Contacts
An account's contacts are the brokers on it. One of them is the broker of record, the broker who created the account. You can add other brokers, and designate any of them as a servicing contact: the broker who handles the account day to day and receives its email.
How to call it
-
Send your API key and the user headers
X-USER-EMAILandX-USER-NAME, the same headers you use to create accounts. The call runs as that broker, on behalf of the broker of record (see Authentication). - An API key on its own is read-only. Every mutation on this page needs both user headers.
What a servicing contact is
When an account has servicing contacts, the account's email goes to them in place of the usual recipients. The broker of record is copied on the email unless you turn that off with copyBrokerOfRecord. An account without servicing contacts keeps its usual recipients.
| Includes | Sent to servicing contacts at launch | |
|---|---|---|
| Quote emails | Submission received, declined, needs more info, quote ready and quote revised. | Yes |
| Bind and policy documents | Bind confirmation, subjectivity reminders and the policy documents, including the invoice. | Yes |
| Renewals | Pre-renewal solicitations, renewal notices and the auto-quoted renewal. | Yes |
| Notices | Rescission and non-renewal notices. | Yes |
| Claim status | Updates on a claim reported on the account. | Yes |
| Scan and risk reports | Scan results and risk reports for the account. | No. These keep their existing recipients. |
Copying the broker of record
copyBrokerOfRecord
is a setting on each account. It defaults to true, so the broker of record is copied on the account's email while it has servicing contacts. To stop copying them, call
setCopyBrokerOfRecord
with false. The setting has no effect while the account has no servicing contacts.
Rules
- A servicing contact must belong to the account's brokerage.
-
addBrokerwithservicing: trueon a broker who is already a contact on the account marks them as servicing and changes nothing else. -
addBrokerwithoutservicingbehaves as it always has, including inviting a new user and sending them the registration email. - Removing a servicing contact removes them from the account and ends their servicing. The last broker on an account cannot be removed.
- When the last servicing contact is removed, the account's email goes back to its usual recipients.
- The setting is per account, and it also applies to the account's renewal email.
- Only the account's broker of record can change
copyBrokerOfRecord.
addBroker(clientId: $clientId, email: $email, name: $name, servicing: $servicing)
- 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 addBroker
Required Required to submit OptionalPass these as variables.
| Name | Type | Required | Description |
|---|---|---|---|
| clientId | ID! | Required | Id of the account (see Create Client). |
| String! | Required | Email of the broker to add. A new email address invites a new user. |
|
| name | String! | Required | Name of the broker to add. |
| servicing | Boolean | Optional | Whether the broker is a servicing contact. Defaults to |
Response fields for addBroker
Select only the fields you need in the selection set.
| Name | Type | Description |
|---|---|---|
| id | ID! | The broker that was added. |
| String! | Email of the broker. |
|
| name | String | Name of the broker. |
removeBroker(clientId: $clientId, userId: $userId)
- 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 removeBroker
Required Required to submit OptionalPass these as variables.
| Name | Type | Required | Description |
|---|---|---|---|
| clientId | ID! | Required | Id of the account (see Create Client). |
| userId | ID! | Required | Id of the broker to remove, as returned in |
Response fields for removeBroker
Select only the fields you need in the selection set.
| Name | Type | Description |
|---|---|---|
| id | ID! | The broker that was removed. |
| String! | Email of the broker. |
|
| name | String | Name of the broker. |
setCopyBrokerOfRecord(clientId: $clientId, copyBrokerOfRecord: $copyBrokerOfRecord)
- 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 setCopyBrokerOfRecord
Required Required to submit OptionalPass these as variables.
| Name | Type | Required | Description |
|---|---|---|---|
| clientId | ID! | Required | Id of the account (see Create Client). |
| copyBrokerOfRecord | Boolean! | Required | Whether the broker of record is copied on the account's email while it has servicing contacts. |
Response fields for setCopyBrokerOfRecord
Select only the fields you need in the selection set.
| Name | Type | Description |
|---|---|---|
| copyBrokerOfRecord | Boolean! | The setting after the call. |
client(id: $clientId)
- 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.
copyBrokerOfRecord
setting. Select these fields on the
client
query, alongside any others you need (see Get Clients).
Arguments for accountContacts
Required Required to submit OptionalPass these as variables.
| Name | Type | Required | Description |
|---|---|---|---|
| id | ID! | Required | Id of the account (see Create Client). |
Response fields for accountContacts
Select only the fields you need in the selection set.
| Name | Type | Description |
|---|---|---|
| copyBrokerOfRecord | Boolean! | Whether the broker of record is copied on the account's email while it has servicing contacts. |
| accountContacts | [AccountContact!]! | The account's contacts at your brokerage. |
| brokerOfRecord | Boolean! | Whether the contact is the broker of record, the broker who created the account. |
| servicing | Boolean! | Whether the contact is a servicing contact. |
| user | User! | The contact. |
| id | ID! | Id of the contact. |
| String! | Email of the contact. |
|
| name | String | Name of the contact. |
Error cases
Errors come back in the response's
errors
list (see Errors).
| When | Error message |
|---|---|
| The account is outside your brokerage. Every operation on this page returns this, so a call does not reveal that the account exists. |
not_found
|
| The contact you add has a role at another brokerage, as a broker or in any other role. Nothing changes. |
a role for this user already exists
|
| You remove the last broker on the account. |
last broker cannot be removed
|
| You call setCopyBrokerOfRecord as a broker who is not the broker of record. |
unauthorized
|
| You send a mutation with only your API key. |
unauthorized
|