---
updatedAt: 2026-05-12T10:00:39.000Z
---

# Add entry points

This operation enables you to add new entry points for the specified site.

# OpenAPI definition

```json
{
  "components": {
    "schemas": {
      "CreateEntryPointInputSwagger": {
        "description": "CreateEntryPointInputSwagger is the input parameters for POST request of entryPoints endpoint",
        "properties": {
          "content": {
            "type": "string"
          },
          "headers": {
            "type": "string"
          },
          "method": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "uri": {
            "description": "Entry points created message\n\nin: body",
            "type": "string"
          }
        },
        "type": "object"
      },
      "ErrorMessage": {
        "description": "ErrorMessage describes the error",
        "properties": {
          "code": {
            "format": "int64",
            "type": "integer"
          },
          "reason": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "PatchEntryPointInputSwagger": {
        "description": "PatchEntryPointInputSwagger is the input parameters for PATCH request of entryPoints endpoint\nOperation: currently only add supported\nPath: field to modify\nValues: new field value(s)",
        "properties": {
          "op": {
            "description": "op is the desired action\nValid values are:\nadd\n\nin: body",
            "type": "string"
          },
          "path": {
            "description": "Path is the field to update\nValid values are:\nentryPoints\n\nin: body",
            "type": "string"
          },
          "values": {
            "description": "Values are values for the patch.\n\nin: body",
            "items": {
              "$ref": "#/components/schemas/CreateEntryPointInputSwagger"
            },
            "type": "array"
          }
        },
        "required": [
          "op",
          "path",
          "values"
        ],
        "type": "object"
      }
    }
  },
  "info": {
    "license": {
      "name": "(c) Copyright 2020 WhiteHat Security"
    },
    "title": "Scan URLs API",
    "version": "2.0.0"
  },
  "openapi": "3.0.1",
  "paths": {
    "/api/v2/sites/{siteID}/entryPoints": {
      "patch": {
        "description": "This operation enables you to add new entry points for the specified site.",
        "operationId": "PatchEntryPointSwagger",
        "parameters": [
          {
            "description": "Site ID",
            "in": "path",
            "name": "siteID",
            "required": true,
            "schema": {
              "format": "int64",
              "type": "integer",
              "x-go-name": "SiteID"
            },
            "x-go-name": "SiteID"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "items": {
                  "$ref": "#/components/schemas/PatchEntryPointInputSwagger"
                },
                "type": "array"
              }
            }
          },
          "description": "Body holds the data of entry points endpoint create"
        },
        "responses": {
          "200": {
            "description": "SuccessResponse request succeeded"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            },
            "description": "BadRequestResponse indicates a request with invalid parameters"
          },
          "401": {
            "description": "UnauthorizedResponse signals an unauthorized API access"
          },
          "403": {
            "description": "ForbiddenResponse signals a request for a resource that does not exist or is not authorized"
          },
          "500": {
            "description": "GenericError generic error"
          }
        },
        "summary": "Add entry points",
        "tags": [
          "Scan URLs API v2.0"
        ],
        "x-codegen-request-body-name": "EntryPointSwagger"
      }
    }
  },
  "servers": [
    {
      "url": "https://sentinel.whitehatsec.com/"
    }
  ],
  "tags": [
    {
      "name": "Scan URLs API v2.0"
    }
  ],
  "x-explorer-enabled": false,
  "x-readme": {
    "proxy-enabled": true
  }
}
```