Resources
Get started in four short videos.
From a sandbox key to live data in about a minute and a half of watching. Each video is one step; the transcript under it has every command shown.
Step 1 of 4
Get a sandbox key
Create a free account, make an API key in the console, and see the two test portals your sandbox can link.
Transcript
- Create a free account on the home page with your company, work email and a password. No card.
- In the console, choose Create my API key. The key is shown once: keep it on your backend, never in the browser.
- The sandbox comes with two test portals: Demo Carrier (agency1 / pw1) and Demo Portal (agent1 / pw1).
Step 2 of 4
Link your first account
Your backend makes a link token, your page opens the connect window, your user signs in.
Transcript
- Your backend asks for a link token: POST /v1/link-tokens with a user_id and a portal.
- Your page opens the connect window with that token, using link.js.
- Your user signs in to the portal inside the window.
- onSuccess hands you a connection id. Save it on your backend. That's the link.
Step 3 of 4
Read their data
Call an operation by name and get validated JSON in the same shape from every carrier.
Transcript
- Call an operation by name: POST /v1/connections/{id}/run with operation list_policies.
- You get validated JSON back.
- Every carrier returns the same model, whatever its own portal calls its fields.
- Operations cover policies, commission statements and claims.
Step 4 of 4
Hear when a link breaks
Set a webhook URL and relink when you get connection.reconnect_needed. The id never changes.
Transcript
- Point us at your webhook: PATCH /v1/settings with webhook_url.
- We send a signed connection.reconnect_needed event when a user must sign in again. Events carry ids and statuses, never portal data.
- Open the connect window again for the same user and portal. The connection id stays the same.