OpenAPI Specification
openapi: 3.0.3
info:
title: HawkSoft Partner Agencies API
version: '3.0'
description: 'HawkSoft Partner API for insurance agency management. This OpenAPI document describes the documented Partner API surface (V3.0, with reference to V1.8).
IMPORTANT - endpoint modeling honesty: The paths, HTTP methods, and base URL below are taken from HawkSoft''s publicly readable Partner API documentation at https://partner.hawksoft.app. The Partner API is GATED - credentials are issued only to vetted, approved API Partners, and an agency must opt in to share its data, so the request/response schemas here are MODELED from the published documentation and blog descriptions rather than exercised against a live account. Field-level detail should be confirmed against the official docs and a partner sandbox before implementation.
Authentication is HTTP Basic (partner user and password). All V3.0 requests must include the query parameter version=3.0.'
contact:
name: HawkSoft Partner Program
email: opportunities@hawksoft.com
url: https://partner.hawksoft.app/
termsOfService: https://www.hawksoft.com/terms/api/
servers:
- url: https://integration.hawksoft.app
description: HawkSoft Partner API integration host
security:
- basicAuth: []
tags:
- name: Agencies
description: Agencies and their offices
paths:
/vendor/agencies:
get:
operationId: listAgencies
summary: List authorized agencies
description: Return the agencies that have authorized this partner. Use the returned agencyId in all subsequent requests.
tags:
- Agencies
parameters:
- $ref: '#/components/parameters/Version'
responses:
'200':
description: A list of agencies
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/Agency'
'401':
$ref: '#/components/responses/Unauthorized'
/vendor/agency/{agencyId}/offices:
get:
operationId: listOffices
summary: List an agency's offices
tags:
- Agencies
parameters:
- $ref: '#/components/parameters/AgencyId'
- $ref: '#/components/parameters/Version'
responses:
'200':
description: A list of offices for the agency
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/Office'
'401':
$ref: '#/components/responses/Unauthorized'
components:
parameters:
AgencyId:
name: agencyId
in: path
required: true
description: HawkSoft agency identifier.
schema:
type: string
Version:
name: version
in: query
required: true
description: API version; use 3.0 for the V3.0 surface.
schema:
type: string
default: '3.0'
schemas:
Office:
type: object
properties:
officeId:
type: string
name:
type: string
address:
type: string
phone:
type: string
Agency:
type: object
properties:
agencyId:
type: string
name:
type: string
status:
type: string
responses:
Unauthorized:
description: Missing or invalid partner credentials.
securitySchemes:
basicAuth:
type: http
scheme: basic
description: HTTP Basic authentication with partner-issued credentials.