---
updatedAt: 2025-07-14T13:43:36.000Z
agentTools:
  projectIndex: https://securityscorecard.readme.io/llms.txt
---

# /max/partner/vendor-onboarding/add-vendor-domains/{domain_or_portfolio_id}

Add vendor domains via JSON

# OpenAPI definition

````json
{
  "openapi": "3.0.3",
  "info": {
    "title": "SecurityScorecard",
    "version": "0.0.1",
    "contact": {
      "name": "SecurityScorecard Support",
      "email": "support@securityscorecard.io"
    },
    "description": "For onboarding instructions and details on how SecurityScorecard API works,\nplease see our Readme guide: https://securityscorecard.readme.io/docs\n\nFor technical support please contact us at\n[support@securityscorecard.io](support@securityscorecard.io). We typically\nrespond in 48 hours and operate Monday thru Friday 9am - 5pm EST (excluding\nUS federal holidays).",
    "x-logo": {
      "url": "https://platform.securityscorecard.io/images/ssc-logo-white-stacked.svg",
      "backgroundColor": "#222830"
    }
  },
  "servers": [
    {
      "url": "https://api.securityscorecard.io"
    }
  ],
  "components": {
    "securitySchemes": {
      "Token": {
        "type": "apiKey",
        "in": "header",
        "name": "Authorization",
        "description": "SecurityScorecard API endpoints require an authentication token to be passed\nin an authorization header in order to return data. If you do not already\nhave a token, you can create one by going to the API Access area in your\n[Settings page](https://platform.securityscorecard.io/#/settings/api) and then\nclicking Generate New Token. Please note this tokens have no expiration\nso they can be used until manually revoked. If you have a token and generate\na new one, the previous token will be revoked and can no longer be used.\n\nAdministrators can also revoke API tokens for any user in their account.\n\nOnce you have your token you can pass it in using the `Authorization` http header like this:\n\n```\ncurl -X GET \\\n  https://api.securityscorecard.io/portfolios \\\n  -H 'authorization: Token <your token>'\n```"
      }
    },
    "schemas": {
      "ErrorBadRequest": {
        "type": "object",
        "properties": {
          "error": {
            "type": "object",
            "properties": {
              "message": {
                "description": "Human readable message, suitable for showing in some UI",
                "type": "string"
              },
              "statusCode": {
                "type": "integer",
                "default": 400
              }
            },
            "required": [
              "message",
              "statusCode"
            ]
          }
        }
      },
      "ErrorUnauthorized": {
        "type": "object",
        "properties": {
          "error": {
            "type": "object",
            "properties": {
              "message": {
                "description": "Human readable message, suitable for showing in some UI",
                "type": "string"
              },
              "statusCode": {
                "type": "integer",
                "default": 401
              }
            },
            "required": [
              "message",
              "statusCode"
            ]
          }
        }
      },
      "ErrorForbidden": {
        "type": "object",
        "properties": {
          "error": {
            "type": "object",
            "properties": {
              "message": {
                "description": "Human readable message, suitable for showing in some UI",
                "type": "string"
              },
              "statusCode": {
                "type": "integer",
                "default": 403
              }
            },
            "required": [
              "message",
              "statusCode"
            ]
          }
        }
      },
      "ErrorNotFound": {
        "type": "object",
        "properties": {
          "error": {
            "type": "object",
            "properties": {
              "message": {
                "description": "Human readable message, suitable for showing in some UI",
                "type": "string"
              },
              "statusCode": {
                "type": "integer",
                "default": 404
              }
            },
            "required": [
              "message",
              "statusCode"
            ]
          }
        }
      },
      "ErrorRateLimit": {
        "type": "object",
        "properties": {
          "error": {
            "type": "object",
            "properties": {
              "message": {
                "description": "Human readable message, suitable for showing in some UI",
                "type": "string"
              },
              "statusCode": {
                "type": "integer",
                "default": 429
              }
            },
            "required": [
              "message",
              "statusCode"
            ]
          }
        }
      },
      "AddVendorDomainsResult": {
        "type": "object",
        "description": "Vendor risk profiles for uploaded domains",
        "properties": {
          "customer_id": {
            "example": "aea7dae2-370f-4279-a458-4c7cb9661778",
            "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
            "description": "Identifier",
            "type": "string"
          },
          "managed_portfolio_id": {
            "example": "aea7dae2-370f-4279-a458-4c7cb9661778",
            "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
            "description": "Identifier",
            "type": "string"
          },
          "local_portfolio_ids": {
            "type": "array",
            "items": {
              "example": "aea7dae2-370f-4279-a458-4c7cb9661778",
              "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
              "description": "Identifier",
              "type": "string"
            }
          },
          "added_vendors": {
            "type": "array",
            "items": {
              "type": "object",
              "description": "Vendor risk profile information",
              "properties": {
                "domain": {
                  "example": "securityscorecard.com",
                  "type": "string"
                },
                "company_name": {
                  "example": "SecurityScorecard",
                  "type": "string"
                },
                "business_impact": {
                  "type": "string",
                  "description": "The effect a vendor breach would have on the organization."
                },
                "tier": {
                  "type": "string",
                  "description": "The level of service provided for the vendor."
                },
                "custom_tags": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  },
                  "description": "Extra tags to label and organize the vendor."
                },
                "incident_likelihood": {
                  "type": "string",
                  "description": "The chance of the vendor having a breach."
                },
                "engagement": {
                  "type": "string",
                  "description": "The status of the latest score or factor changes of the vendor."
                },
                "assessment_scheduled_at": {
                  "type": "string",
                  "format": "date",
                  "example": "2020-01-01",
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                  "description": "The date of the next vendor assessment."
                }
              },
              "required": [
                "domain",
                "company_name"
              ]
            }
          },
          "updated_vendors": {
            "type": "array",
            "items": {
              "type": "object",
              "description": "Vendor risk profile information",
              "properties": {
                "domain": {
                  "example": "securityscorecard.com",
                  "type": "string"
                },
                "company_name": {
                  "example": "SecurityScorecard",
                  "type": "string"
                },
                "business_impact": {
                  "type": "string",
                  "description": "The effect a vendor breach would have on the organization."
                },
                "tier": {
                  "type": "string",
                  "description": "The level of service provided for the vendor."
                },
                "custom_tags": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  },
                  "description": "Extra tags to label and organize the vendor."
                },
                "incident_likelihood": {
                  "type": "string",
                  "description": "The chance of the vendor having a breach."
                },
                "engagement": {
                  "type": "string",
                  "description": "The status of the latest score or factor changes of the vendor."
                },
                "assessment_scheduled_at": {
                  "type": "string",
                  "format": "date",
                  "example": "2020-01-01",
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                  "description": "The date of the next vendor assessment."
                }
              },
              "required": [
                "domain",
                "company_name"
              ]
            }
          },
          "ignored_domains": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "domain": {
                  "type": "string"
                },
                "index": {
                  "type": "number"
                },
                "errors": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              },
              "required": [
                "index",
                "errors"
              ]
            }
          }
        },
        "required": [
          "customer_id",
          "managed_portfolio_id",
          "added_vendors",
          "updated_vendors"
        ]
      },
      "UploadVendorDomainsRequest": {
        "type": "object",
        "properties": {
          "vendor_list": {
            "description": "List of vendors risk profiles",
            "type": "array",
            "items": {
              "type": "object",
              "description": "Vendor risk profile information",
              "properties": {
                "domain": {
                  "example": "securityscorecard.com",
                  "type": "string"
                },
                "company_name": {
                  "example": "SecurityScorecard",
                  "type": "string"
                },
                "business_impact": {
                  "type": "string",
                  "description": "The effect a vendor breach would have on the organization."
                },
                "tier": {
                  "type": "string",
                  "description": "The level of service provided for the vendor."
                },
                "custom_tags": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  },
                  "description": "Extra tags to label and organize the vendor."
                },
                "incident_likelihood": {
                  "type": "string",
                  "description": "The chance of the vendor having a breach."
                },
                "engagement": {
                  "type": "string",
                  "description": "The status of the latest score or factor changes of the vendor."
                },
                "assessment_scheduled_at": {
                  "type": "string",
                  "format": "date",
                  "example": "2020-01-01",
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                  "description": "The date of the next vendor assessment."
                }
              },
              "required": [
                "domain",
                "company_name"
              ]
            }
          }
        },
        "required": [
          "vendor_list"
        ],
        "description": "List of vendors risk profiles"
      }
    }
  },
  "security": [
    {
      "Token": []
    }
  ],
  "paths": {
    "/max/partner/vendor-onboarding/add-vendor-domains/{domain_or_portfolio_id}": {
      "post": {
        "summary": "",
        "description": "Add vendor domains via JSON",
        "tags": [
          "partner"
        ],
        "parameters": [
          {
            "in": "path",
            "name": "domain_or_portfolio_id",
            "required": true,
            "example": "securityscorecard.com",
            "schema": {
              "type": "string"
            },
            "description": "Portfolio or domain identifier"
          },
          {
            "in": "query",
            "name": "local_portfolio_id",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Local portfolio identifier"
          },
          {
            "name": "version",
            "in": "header",
            "schema": {
              "type": "string",
              "example": "beta"
            },
            "description": "API version header"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UploadVendorDomainsRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Add vendor domains result",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AddVendorDomainsResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorBadRequest"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorUnauthorized"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorForbidden"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorNotFound"
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorRateLimit"
                }
              }
            }
          }
        }
      }
    }
  }
}
````