Authentication

Every request authenticates with a PartnerKey header. One key represents one account, the API resolves your user from the key, so there's no separate login step.

curl "$BASE_URL/partner/me" -H "PartnerKey: $PARTNER_KEY"
{
  "id": "u_123",
  "firstName": "Jamie",
  "lastName": "Rivera",
  "email": "jamie@example.com",
  "agency": "Rivera Insurance Group",
  "companyId": "c_456",
  "enabledStates": ["WA", "OR", "ID"]
}

enabledStates is the list of state codes your account can file in. Check it before calling /filing-states or /create-filing for a state you haven't used before.

Base URL

https://api.valleyinsllc.com/api/v1

Don't send both auth methods

Do not send a PartnerKey header and an Authorization: Bearer token on the same request. The API rejects that combination with 400 Bad Request, pick one method per request.

Keep your key secret

Read your key from an environment variable, never hardcode it, and never paste it into a chat prompt or commit it to source control.

Requesting a key: contact Gina Doyle at gina@valleyinsllc.com.