OpenAPI Specification
openapi: 3.0.3
info:
title: HawkSoft Partner Agencies Attachments 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: Attachments
description: File attachments on client records
paths:
/vendor/agency/{agencyId}/client/{clientId}/attachment:
post:
operationId: postAttachment
summary: Post a file attachment to a client (write-back)
tags:
- Attachments
parameters:
- $ref: '#/components/parameters/AgencyId'
- $ref: '#/components/parameters/ClientId'
- $ref: '#/components/parameters/Version'
requestBody:
required: true
content:
multipart/form-data:
schema:
$ref: '#/components/schemas/Attachment'
responses:
'201':
description: Attachment created
'401':
$ref: '#/components/responses/Unauthorized'
components:
parameters:
AgencyId:
name: agencyId
in: path
required: true
description: HawkSoft agency identifier.
schema:
type: string
ClientId:
name: clientId
in: path
required: true
description: HawkSoft client 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'
responses:
Unauthorized:
description: Missing or invalid partner credentials.
schemas:
Attachment:
type: object
properties:
fileName:
type: string
contentType:
type: string
file:
type: string
format: binary
securitySchemes:
basicAuth:
type: http
scheme: basic
description: HTTP Basic authentication with partner-issued credentials.