InsureTrek API
Getting Started
Get started with the InsureTrek Bridge API.
Overview
The InsureTrek Bridge API gives agencies programmatic access to producer onboarding, licensing, and account management. Use it to integrate InsureTrek directly into your existing workflows and systems.
Requesting Access
The Bridge API is available to InsureTrek customers on request. To get started:
- Contact your InsureTrek account manager or email hello@insuretrek.com to request API access.
- Once approved, you'll receive a Client ID and Client Secret.
- Use these credentials to authenticate via the
/v1/auth/loginendpoint.
Authentication
All API requests require a Bearer token. To obtain one, send your credentials to the login endpoint:
curl -X POST https://api.insuretrek.com/v1/auth/login \
-H "Content-Type: application/json" \
-d '{
"clientId": "your-client-id",
"clientSecret": "your-client-secret"
}'
The response includes an accessToken. Include it in subsequent requests:
curl https://api.insuretrek.com/v1/account \
-H "Authorization: Bearer your-access-token"
Base URL
All API requests should be made to:
https://api.insuretrek.com
Sample Response
Curious what a producer lookup returns? A full sample response is available on the POST /v1/account/producer endpoint in the API reference.