# Getting Started

> Request access to the InsureTrek Bridge API, authenticate with your client ID and secret, and make your first request for producer and licensing data.

## 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:

1. Contact your InsureTrek account manager or email [hello@insuretrek.com](mailto:hello@insuretrek.com) to request API access.
2. Once approved, you'll receive a **Client ID** and **Client Secret**.
3. Use these credentials to authenticate via the `/v1/auth/login` endpoint.

## 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](/docs/api/reference#tag/producer/POST/v1/account/producer) endpoint in the API reference.

## Next Steps

[API Reference](/docs/api/reference)

View the full API reference with all endpoints, request/response schemas, and example code.
