Every API here is available over the APIs.io API and to AI agents over MCP.
{
"openapi": "3.0.1",
"info": {
"title": "Digital PAC API",
"description": "Digital PAC API allows users to submit, rate, quote and bind policies, and match the insured’s exposures with a wide range of optional and enhanced coverages.",
"version": "1.0"
},
"servers": [
{
"url": "https://gateway.amtrustgroup.com/digital-pac"
},
{
"url": "https://prod-apim-gw.amtrustservices.com/digital-pac"
}
],
"paths": {
"/api/v1/agent-contacts": {
"get": {
"tags": [
"Agent Contacts"
],
"summary": "Retrieve all agent contacts",
"description": "Returns all agent contact IDs, names, and emails linked to the agency authenticated",
"operationId": "get-api-v1-agent-contacts",
"responses": {
"401": {
"description": "Bad or expired token. To resolve this error, generate a new or refreshed token.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/UnauthorizedErrorIApiResponse"
},
"example": {
"responseId": "34822e69a339",
"timeStamp": "2023-08-25T01:04:41.5513032+00:00",
"httpStatusCode": 401,
"isOk": false,
"errors": [
{
"httpStatusCode": 401,
"messageCode": "ERR-NOTAUTHORIZED",
"title": "Bearer token is not authorized",
"isOk": false
}
],
"maxErrorIndex": 0,
"_v": "AD"
}
}
}
},
"403": {
"description": "The authenticated user or client does not have required permissions to complete this request.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ForbiddenErrorIApiResponse"
},
"example": {
"responseId": "7723319b7f74",
"timeStamp": "2023-08-25T01:04:41.5514991+00:00",
"httpStatusCode": 403,
"isOk": false,
"errors": [
{
"httpStatusCode": 403,
"messageCode": "ERR-FORBIDDEN",
"title": "The token provided does not have permissions for the requested action",
"isOk": false
}
],
"maxErrorIndex": 0,
"_v": "AD"
}
}
}
},
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AgentContactDtoIEnumerableIApiResponse"
},
"example": {
"data": [
{
"id": 1,
"name": "George Washington",
"email": "gwashington@uspresident.gov"
},
{
"id": 2,
"name": "John Adams",
"email": "jadams@uspresident.gov"
},
{
"id": 1,
"name": "Thomas Jefferson",
"email": "tjefferson@uspresident.gov"
}
],
"responseId": "f8c1fcf784ed",
"timeStamp": "2023-08-25T01:04:41.5516729+00:00",
"httpStatusCode": 200,
"isOk": true,
"_v": "AD"
}
}
}
}
}
}
},
"/api/v1/reference-resources/business-types": {
"get": {
"tags": [
"Reference Resources"
],
"summary": "Retrieve Business Types",
"description": "Returns all available business types that can be selected",
"operationId": "get-api-v1-reference-resources-business-types",
"responses": {
"401": {
"description": "Bad or expired token. To resolve this error, generate a new or refreshed token.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/UnauthorizedErrorIApiResponse"
},
"example": {
"responseId": "72e2414eff20",
"timeStamp": "2023-08-25T01:04:41.8153992+00:00",
"httpStatusCode": 401,
"isOk": false,
"errors": [
{
"httpStatusCode": 401,
"messageCode": "ERR-NOTAUTHORIZED",
"title": "Bearer token is not authorized",
"isOk": false
}
],
"maxErrorIndex": 0,
"_v": "AD"
}
}
}
},
"403": {
"description": "The authenticated user or client does not have required permissions to complete this request.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ForbiddenErrorIApiResponse"
},
"example": {
"responseId": "f70c07280952",
"timeStamp": "2023-08-25T01:04:41.8155065+00:00",
"httpStatusCode": 403,
"isOk": false,
"errors": [
{
"httpStatusCode": 403,
"messageCode": "ERR-FORBIDDEN",
"title": "The token provided does not have permissions for the requested action",
"isOk": false
}
],
"maxErrorIndex": 0,
"_v": "AD"
}
}
}
},
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/BusinessTypeDtoIEnumerableIApiResponse"
},
"example": {
"data": [
{
"id": "ApartmentBuilding",
"description": "Apartment Building"
},
{
"id": "ApartmentCondoOrCoOpMercantile",
"description": "Apartment, Condo or Co-op with Mercantile"
},
{
"id": "CondominiumOrCoOp",
"description": "Condominium or Co-op"
},
{
"id": "Contractor",
"description": "Contractor"
},
{
"id": "Dwelling",
"description": "Dwelling (1-4 Family)"
},
{
"id": "HomeownersAssociation",
"description": "Homeowners Association"
},
{
"id": "HotelsMotels",
"description": "Hotels/Motels"
},
{
"id": "Institution",
"description": "Institution (such as churches / houses of worship/schools)"
},
{
"id": "Manufacturing",
"description": "Manufacturing"
},
{
"id": "LRO",
"description": "LRO- no apartments (lessors Risk Only)"
},
{
"id": "Office",
"description": "Office"
},
{
"id": "Restaurant",
"description": "Restaurant"
},
{
"id": "RetailMercantile",
"description": "Retail Mercantile"
},
{
"id": "Services",
"description": "Services (classes such as auto repair, beauty salons, clubs, dry cleaning, gas stations, Laundromat, printing)"
},
{
"id": "WholesaleDistributor",
"description": "Wholesale/Distributor"
},
{
"id": "Other",
"description": "All other"
}
],
"responseId": "96f22b5eba8f",
"timeStamp": "2023-08-25T01:04:41.8156170+00:00",
"httpStatusCode": 200,
"isOk": true,
"_v": "AD"
}
}
}
}
}
}
},
"/api/v1/reference-resources/legal-entities": {
"get": {
"tags": [
"Reference Resources"
],
"summary": "Retrieve Legal Entities",
"description": "Returns all available legal entities that can be selected",
"operationId": "get-api-v1-reference-resources-legal-entities",
"parameters": [
{
"name": "effectiveDate",
"in": "query",
"schema": {
"type": "string"
}
}
],
"responses": {
"401": {
"description": "Bad or expired token. To resolve this error, generate a new or refreshed token.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/UnauthorizedErrorIApiResponse"
},
"example": {
"responseId": "c2b519977e5f",
"timeStamp": "2023-08-25T01:04:41.8217788+00:00",
"httpStatusCode": 401,
"isOk": false,
"errors": [
{
"httpStatusCode": 401,
"messageCode": "ERR-NOTAUTHORIZED",
"title": "Bearer token is not authorized",
"isOk": false
}
],
"maxErrorIndex": 0,
"_v": "AD"
}
}
}
},
"403": {
"description": "The authenticated user or client does not have required permissions to complete this request.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ForbiddenErrorIApiResponse"
},
"example": {
"responseId": "bdb91e86fe58",
"timeStamp": "2023-08-25T01:04:41.8218853+00:00",
"httpStatusCode": 403,
"isOk": false,
"errors": [
{
"httpStatusCode": 403,
"messageCode": "ERR-FORBIDDEN",
"title": "The token provided does not have permissions for the requested action",
"isOk": false
}
],
"maxErrorIndex": 0,
"_v": "AD"
}
}
}
},
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/StringIEnumerableIApiResponse"
},
"example": {
"data": [
"Individual",
"Partnership",
"Joint Venture",
"Trust",
"Limited Liability Company",
"Organization Including a Corporation",
"Other"
],
"responseId": "eab104ac3609",
"timeStamp": "2023-08-25T01:04:41.8219963+00:00",
"httpStatusCode": 200,
"isOk": true,
"_v": "AD"
}
}
}
}
}
}
},
"/api/v1/quotes/{quoteId}/liability-limits": {
"get": {
"tags": [
"Liability Limits"
],
"summary": "Retrieve Available Liability Limits by Quote",
"description": "Returns all general liability limits that are available for the specific quote",
"operationId": "get-api-v1-quotes-quoteid-liability-limits",
"parameters": [
{
"name": "quoteId",
"in": "path",
"description": "Format - int32.",
"required": true,
"schema": {
"type": "integer"
}
}
],
"responses": {
"401": {
"description": "Bad or expired token. To resolve this error, generate a new or refreshed token.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/UnauthorizedErrorIApiResponse"
},
"example": {
"responseId": "d61f51f8b311",
"timeStamp": "2023-08-25T01:04:41.5833659+00:00",
"httpStatusCode": 401,
"isOk": false,
"errors": [
{
"httpStatusCode": 401,
"messageCode": "ERR-NOTAUTHORIZED",
"title": "Bearer token is not authorized",
"isOk": false
}
],
"maxErrorIndex": 0,
"_v": "AD"
}
}
}
},
"403": {
"description": "The authenticated user or client does not have required permissions to complete this request.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ForbiddenErrorIApiResponse"
},
"example": {
"responseId": "eac02409545a",
"timeStamp": "2023-08-25T01:04:41.5835689+00:00",
"httpStatusCode": 403,
"isOk": false,
"errors": [
{
"httpStatusCode": 403,
"messageCode": "ERR-FORBIDDEN",
"title": "The token provided does not have permissions for the requested action",
"isOk": false
}
],
"maxErrorIndex": 0,
"_v": "AD"
}
}
}
},
"404": {
"description": "Not found",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NotFoundErrorIApiResponse"
},
"example": {
"responseId": "5fbb884dc8a6",
"timeStamp": "2023-08-25T01:04:41.5837225+00:00",
"httpStatusCode": 404,
"isOk": false,
"errors": [
{
"httpStatusCode": 404,
"messageCode": "ERR-ItemNotFound",
"title": "Item was not found",
"isOk": false
}
],
"maxErrorIndex": 0,
"_v": "AD"
}
}
}
},
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/LiabilityLimitsContainerDtoIApiResponse"
},
"example": {
"data": {
"liabilityOccurrence": {
"options": [
"100000",
"300000",
"500000",
"1000000",
"2000000"
],
"default": "1000000"
},
"generalAggregate": {
"options": [
"100000",
"200000",
"300000",
"500000",
"600000",
"1000000",
"2000000",
"4000000"
],
"default": "2000000"
},
"productsAggregate": {
"options": [
"100000",
"200000",
"300000",
"500000",
"600000",
"1000000",
"2000000",
"4000000",
"Excluded"
],
"default": "1000000"
},
"medicalExpense": {
"options": [
"0",
"5000",
"10000",
"15000"
],
"default": "5000"
},
"damageToPremisesRentedToYou": {
"options": [
"100000",
"300000",
"500000",
"1000000"
],
"default": "100000"
}
},
"responseId": "7a93ed7fe9ed",
"timeStamp": "2023-08-25T01:04:41.5838541+00:00",
"httpStatusCode": 200,
"isOk": true,
"_v": "AD"
}
}
}
}
}
},
"post": {
"tags": [
"Liability Limits"
],
"summary": "Add General Liability Limits",
"description": "This endpoint saves general liability limits to the quote",
"operationId": "post-api-v1-quotes-quoteid-liability-limits",
"parameters": [
{
"name": "quoteId",
"in": "path",
"description": "Format - int32.",
"required": true,
"schema": {
"type": "integer"
}
}
],
"requestBody": {
"content": {
"application/json-patch+json": {
"schema": {
"$ref": "#/components/schemas/PostLiabilityLimitsDto"
},
"example": {
"liabilityOccurrence": "1000000",
"generalAggregate": "2000000",
"productsAggregate": "50000",
"medicalExpense": "0 (Excluded)",
"damageToPremisesRentedToYou": "0 (Excluded)"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/PostLiabilityLimitsDto"
},
"example": {
"liabilityOccurrence": "1000000",
"generalAggregate": "2000000",
"productsAggregate": "50000",
"medicalExpense": "0 (Excluded)",
"damageToPremisesRentedToYou": "0 (Excluded)"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/PostLiabilityLimitsDto"
},
"example": {
"liabilityOccurrence": "1000000",
"generalAggregate": "2000000",
"productsAggregate": "50000",
"medicalExpense": "0 (Excluded)",
"damageToPremisesRentedToYou": "0 (Excluded)"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/PostLiabilityLimitsDto"
},
"example": {
"liabilityOccurrence": "1000000",
"generalAggregate": "2000000",
"productsAggregate": "50000",
"medicalExpense": "0 (Excluded)",
"damageToPremisesRentedToYou": "0 (Excluded)"
}
}
}
},
"responses": {
"401": {
"description": "Bad or expired token. To resolve this error, generate a new or refreshed token.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/UnauthorizedErrorIApiResponse"
},
"example": {
"responseId": "931bce89f6b0",
"timeStamp": "2023-08-25T01:04:41.6199754+00:00",
"httpStatusCode": 401,
"isOk": false,
"errors": [
{
"httpStatusCode": 401,
"messageCode": "ERR-NOTAUTHORIZED",
"title": "Bearer token is not authorized",
"isOk": false
}
],
"maxErrorIndex": 0,
"_v": "AD"
}
}
}
},
"403": {
"description": "The authenticated user or client does not have required permissions to complete this request.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ForbiddenErrorIApiResponse"
},
"example": {
"responseId": "0542d761f261",
"timeStamp": "2023-08-25T01:04:41.6201055+00:00",
"httpStatusCode": 403,
"isOk": false,
"errors": [
{
"httpStatusCode": 403,
"messageCode": "ERR-FORBIDDEN",
"title": "The token provided does not have permissions for the requested action",
"isOk": false
}
],
"maxErrorIndex": 0,
"_v": "AD"
}
}
}
},
"404": {
"description": "Not found",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NotFoundErrorIApiResponse"
},
"example": {
"responseId": "e7b3d56c846d",
"timeStamp": "2023-08-25T01:04:41.6202656+00:00",
"httpStatusCode": 404,
"isOk": false,
"errors": [
{
"httpStatusCode": 404,
"messageCode": "ERR-ItemNotFound",
"title": "Item was not found",
"isOk": false
}
],
"maxErrorIndex": 0,
"_v": "AD"
}
}
}
},
"201": {
"description": "Created",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PostLiabilityLimitsResponseDtoIApiResponse"
},
"example": {
"data": {
"accountInformation": {
"quoteId": 983428,
"masterAccountId": 32529301
},
"liabilityLimits": {
"liabilityOccurrence": "1000000",
"generalAggregate": "2000000",
"personalAndAdvInjury": "1000000",
"productsAggregate": "50000",
"medicalExpense": "0 (Excluded)",
"damageToPremisesRentedToYou": "0 (Excluded)"
},
"premiumDetails": {
"generalLiability": {
"premium": 1200,
"taxes": 0
},
"commercialProperty": {
"premium": 1389,
"taxes": 1
},
"netPremium": 1
}
},
"responseId": "2a78421739b2",
"timeStamp": "2023-08-25T01:04:41.6204311+00:00",
"httpStatusCode": 201,
"isOk": true,
"messages": [
{
"httpStatusCode": 200,
"messageCode": "Deeplink",
"title": "https://devk8s.amtrustgroup.com/usertest/webapp-nexus/AccountManagement/24786342",
"isOk": true
}
],
"maxMessageIndex": 0,
"_v": "AD"
}
}
}
},
"400": {
"description": "Validation error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/BadRequestErrorIApiResponse"
},
"example": {
"responseId": "64fffb858005",
"timeStamp": "2023-08-25T01:04:41.6206070+00:00",
"httpStatusCode": 400,
"isOk": false,
"errors": [
{
"httpStatusCode": 400,
"messageCode": "ERR-ValidationErr",
"title": "Validation Error",
"detail": "Validation detail message",
"isOk": false
}
],
"maxErrorIndex": 0,
"_v": "AD"
}
}
}
}
}
}
},
"/api/v1/quotes": {
"post": {
"tags": [
"Quotes"
],
"summary": "Create Quote",
"description": "This endpoint takes in basic insured information (addresses, name, contact, effective date, business information), along with allowing coverage selections. <br>\r\n <br> This endpoint will not take in class code specific limit selections, nor will it return a premium.",
"operationId": "post-api-v1-quotes",
"requestBody": {
"content": {
"application/json-patch+json": {
"schema": {
"$ref": "#/components/schemas/PostQuoteRequestDto"
},
"example": {
"businessName": "Stark Industries",
"dbaName": "Marvel Studios",
"primaryAddress": {
"line1": "41 Madison Ave",
"line2": "Suite A",
"city": "New York",
"territory": "NY",
"postalCode": "10010"
},
"mailingAddress": {
"line1": "41 Madison Ave",
"line2": "Suite A",
"city": "New York",
"territory": "NY",
"postalCode": "10010"
},
"effectiveDate": "2023-08-27",
"fein": "123456789",
"agentContactId": 123456,
"insuredContact": {
"name": "Pepper Potts-Stark",
"phone": "5555555555",
"email": "IronLove3000@mail.com"
},
"legalEntity": "Individual",
"businessType": "ApartmentBuilding",
"yearsInBusiness": 45,
"yearsOfExperience": null,
"natureOfBusiness": "Government funding housing",
"quoteCoverageSelection": {
"hasGeneralLiability": true,
"hasEmploymentRelatedPracticesLiability": false,
"hasCommercialProperty": true
}
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/PostQuoteRequestDto"
},
"example": {
"businessName": "Stark Industries",
"dbaName": "Marvel Studios",
"primaryAddress": {
"line1": "41 Madison Ave",
"line2": "Suite A",
"city": "New York",
"territory": "NY",
"postalCode": "10010"
},
"mailingAddress": {
"line1": "41 Madison Ave",
"line2": "Suite A",
"city": "New York",
"territory": "NY",
"postalCode": "10010"
},
"effectiveDate": "2023-08-27",
"fein": "123456789",
"agentContactId": 123456,
"insuredContact": {
"name": "Pepper Potts-Stark",
"phone": "5555555555",
"email": "IronLove3000@mail.com"
},
"legalEntity": "Individual",
"businessType": "ApartmentBuilding",
"yearsInBusiness": 45,
"yearsOfExperience": null,
"natureOfBusiness": "Government funding housing",
"quoteCoverageSelection": {
"hasGeneralLiability": true,
"hasEmploymentRelatedPracticesLiability": false,
"hasCommercialProperty": true
}
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/PostQuoteRequestDto"
},
"example": {
"businessName": "Stark Industries",
"dbaName": "Marvel Studios",
"primaryAddress": {
"line1": "41 Madison Ave",
"line2": "Suite A",
"city": "New York",
"territory": "NY",
"postalCode": "10010"
},
"mailingAddress": {
"line1": "41 Madison Ave",
"line2": "Suite A",
"city": "New York",
"territory": "NY",
"postalCode": "10010"
},
"effectiveDate": "2023-08-27",
"fein": "123456789",
"agentContactId": 123456,
"insuredContact": {
"name": "Pepper Potts-Stark",
"phone": "5555555555",
"email": "IronLove3000@mail.com"
},
"legalEntity": "Individual",
"businessType": "ApartmentBuilding",
"yearsInBusiness": 45,
"yearsOfExperience": null,
"natureOfBusiness": "Government funding housing",
"quoteCoverageSelection": {
"hasGeneralLiability": true,
"hasEmploymentRelatedPracticesLiability": false,
"hasCommercialProperty": true
}
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/PostQuoteRequestDto"
},
"example": {
"businessName": "Stark Industries",
"dbaName": "Marvel Studios",
"primaryAddress": {
"line1": "41 Madison Ave",
"line2":
# --- truncated at 32 KB (168 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/amtrust-financial-services/refs/heads/main/openapi/amtrust-financial-services-digital-pac-api-openapi.json