Skip to main content

Authentication

Creating Credentials

You can generate new credentials within our Partner Portal by navigating to API Keys.

Basic Auth

Our API supports authentication with client credentials through the basic authorization scheme. Basic auth provides a simple way to authenticate machine-to-machine API calls utilizing your client credentials. The client credentials include a client-id and a client-secret which should be treated as a secret key and stored in a secure way. These credentials should not be utilized for frontend-based calls (e.g., via javascript in your customer-facing application).

Examples

curl -X GET -u $CLIENT_ID:$CLIENT_SECRET 'https://api.verticalinsure.com/v1/products' 

Client Id Header

Our quoting API allows requests to include only the x-api-client-id header. This is the client_id part of your API credentials. This method ensures that your full API credentials remain secret while utilizing the Quote API from your user interface.

curl -X POST -H "x-api-client-id: $CLIENT_ID" 'https://api.verticalinsure.com/v1/quote/gap-medical'