{ "openapi" : "3.0.1", "info" : { "title" : "Meta Origins", "description" : "Basepom for all HubSpot Projects", "version" : "2026-09-beta", "x-hubspot-product-tier-requirements" : { "marketing" : "FREE", "sales" : "FREE", "service" : "FREE", "cms" : "FREE", "commerce" : "FREE", "crmHub" : "FREE", "dataHub" : "FREE" } }, "servers" : [ { "url" : "https://api.hubapi.com" } ], "tags" : [ { "name" : "Advanced" }, { "name" : "Basic" } ], "paths" : { "/meta/network-origins/2026-09-beta/ip-ranges" : { "get" : { "tags" : [ "Basic" ], "operationId" : "get-/meta/network-origins/2026-09-beta/ip-ranges_/meta/network-origins/2026-09-beta/ip-ranges", "parameters" : [ { "name" : "direction", "in" : "query", "description" : "", "required" : false, "style" : "form", "explode" : true, "schema" : { "type" : "array", "example" : null, "items" : { "type" : "string", "example" : null, "enum" : [ "INGRESS", "EGRESS" ] } } }, { "name" : "service", "in" : "query", "description" : "", "required" : false, "style" : "form", "explode" : true, "schema" : { "type" : "array", "example" : null, "items" : { "type" : "string", "example" : null, "enum" : [ "EMAIL", "API", "DNS", "WEB_SCRAPING", "TEST_SERVICE" ] } } } ], "responses" : { "200" : { "description" : "successful operation", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/CollectionResponseIpRangeNoPaging" }, "example" : null } } }, "default" : { "description" : "", "$ref" : "#/components/responses/Error" } }, "x-hubspot-auth-scoping-type" : "NONE" } }, "/meta/network-origins/2026-09-beta/ip-ranges/simple" : { "get" : { "tags" : [ "Basic" ], "operationId" : "get-/meta/network-origins/2026-09-beta/ip-ranges/simple_/meta/network-origins/2026-09-beta/ip-ranges/simple", "parameters" : [ { "name" : "direction", "in" : "query", "description" : "", "required" : false, "style" : "form", "explode" : true, "schema" : { "type" : "array", "example" : null, "items" : { "type" : "string", "example" : null, "enum" : [ "INGRESS", "EGRESS" ] } } }, { "name" : "service", "in" : "query", "description" : "", "required" : false, "style" : "form", "explode" : true, "schema" : { "type" : "array", "example" : null, "items" : { "type" : "string", "example" : null, "enum" : [ "EMAIL", "API", "DNS", "WEB_SCRAPING", "TEST_SERVICE" ] } } } ], "responses" : { "200" : { "description" : "successful operation", "content" : { "text/plain" : { "schema" : { "type" : "string", "example" : null }, "example" : null } } }, "default" : { "description" : "", "$ref" : "#/components/responses/Error" } }, "x-hubspot-auth-scoping-type" : "NONE" } }, "/meta/network-origins/2026-09-beta/ip-ranges/webhook-subscriptions/{appId}" : { "get" : { "tags" : [ "Basic" ], "operationId" : "get-/meta/network-origins/2026-09-beta/ip-ranges/webhook-subscriptions/{appId}_/meta/network-origins/2026-09-beta/ip-ranges/webhook-subscriptions/{appId}", "parameters" : [ { "name" : "appId", "in" : "path", "required" : true, "schema" : { "pattern" : ".+", "type" : "string", "example" : null } } ], "responses" : { "200" : { "description" : "successful operation", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/CollectionResponseWebhookSubscriptionNoPaging" }, "example" : null } } }, "default" : { "description" : "", "$ref" : "#/components/responses/Error" } }, "security" : [ { "app_cookie" : [ "ip-ranges-webhook-subscriptions-read", "ip-ranges-webhook-subscriptions-write" ] }, { "hapikey" : [ ] }, { "internal_cookie" : [ "ip-ranges-webhook-subscriptions-read", "ip-ranges-webhook-subscriptions-write" ] }, { "oauth2" : [ "ip-ranges-webhook-subscriptions-read", "ip-ranges-webhook-subscriptions-write" ] }, { "shhkey" : [ ] } ], "x-hubspot-auth-scoping-type" : "ANY" }, "post" : { "tags" : [ "Basic" ], "operationId" : "post-/meta/network-origins/2026-09-beta/ip-ranges/webhook-subscriptions/{appId}_/meta/network-origins/2026-09-beta/ip-ranges/webhook-subscriptions/{appId}", "parameters" : [ { "name" : "appId", "in" : "path", "required" : true, "schema" : { "pattern" : ".+", "type" : "string", "example" : null } } ], "requestBody" : { "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/WebhookSubscriptionRequest" }, "example" : null } }, "required" : true }, "responses" : { "201" : { "description" : "successful operation", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/WebhookSubscription" }, "example" : null } } }, "default" : { "description" : "", "$ref" : "#/components/responses/Error" } }, "security" : [ { "app_cookie" : [ "ip-ranges-webhook-subscriptions-write" ] }, { "hapikey" : [ ] }, { "internal_cookie" : [ "ip-ranges-webhook-subscriptions-write" ] }, { "oauth2" : [ "ip-ranges-webhook-subscriptions-write" ] }, { "shhkey" : [ ] } ], "x-hubspot-auth-scoping-type" : "ANY" } }, "/meta/network-origins/2026-09-beta/ip-ranges/webhook-subscriptions/{appId}/{subscription-id}" : { "delete" : { "tags" : [ "Basic" ], "operationId" : "delete-/meta/network-origins/2026-09-beta/ip-ranges/webhook-subscriptions/{appId}/{subscription-id}_/meta/network-origins/2026-09-beta/ip-ranges/webhook-subscriptions/{appId}/{subscription-id}", "parameters" : [ { "name" : "appId", "in" : "path", "required" : true, "schema" : { "pattern" : ".+", "type" : "string", "example" : null } }, { "name" : "subscription-id", "in" : "path", "description" : "", "required" : true, "style" : "simple", "explode" : false, "schema" : { "type" : "integer", "format" : "int64", "example" : null } } ], "responses" : { "204" : { "description" : "No content", "content" : { } }, "default" : { "description" : "", "$ref" : "#/components/responses/Error" } }, "security" : [ { "app_cookie" : [ "ip-ranges-webhook-subscriptions-write" ] }, { "hapikey" : [ ] }, { "internal_cookie" : [ "ip-ranges-webhook-subscriptions-write" ] }, { "oauth2" : [ "ip-ranges-webhook-subscriptions-write" ] }, { "shhkey" : [ ] } ], "x-hubspot-auth-scoping-type" : "ANY" } }, "/meta/network-origins/2026-09-beta/ip-ranges/webhook-subscriptions/{appId}/{subscription-id}/test" : { "post" : { "tags" : [ "Advanced" ], "operationId" : "post-/meta/network-origins/2026-09-beta/ip-ranges/webhook-subscriptions/{appId}/{subscription-id}/test_/meta/network-origins/2026-09-beta/ip-ranges/webhook-subscriptions/{appId}/{subscription-id}/test", "parameters" : [ { "name" : "appId", "in" : "path", "required" : true, "schema" : { "pattern" : ".+", "type" : "string", "example" : null } }, { "name" : "subscription-id", "in" : "path", "description" : "", "required" : true, "style" : "simple", "explode" : false, "schema" : { "type" : "integer", "format" : "int64", "example" : null } } ], "responses" : { "204" : { "description" : "No content", "content" : { } }, "default" : { "description" : "", "$ref" : "#/components/responses/Error" } }, "security" : [ { "app_cookie" : [ "ip-ranges-webhook-subscriptions-write" ] }, { "hapikey" : [ ] }, { "internal_cookie" : [ "ip-ranges-webhook-subscriptions-write" ] }, { "oauth2" : [ "ip-ranges-webhook-subscriptions-write" ] }, { "shhkey" : [ ] } ], "x-hubspot-auth-scoping-type" : "ANY" } } }, "components" : { "schemas" : { "CollectionResponseWebhookSubscriptionNoPaging" : { "required" : [ "results" ], "type" : "object", "properties" : { "results" : { "type" : "array", "example" : null, "items" : { "$ref" : "#/components/schemas/WebhookSubscription" } } }, "example" : null }, "ErrorDetail" : { "required" : [ "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "The status code associated with the error detail", "example" : null }, "context" : { "type" : "object", "additionalProperties" : { "type" : "array", "example" : null, "items" : { "type" : "string", "example" : null } }, "description" : "Context about the error condition", "example" : "{missingScopes=[scope1, scope2]}" }, "in" : { "type" : "string", "description" : "The name of the field or parameter in which the error was found.", "example" : null }, "message" : { "type" : "string", "description" : "A human readable message describing the error along with remediation steps where appropriate", "example" : null }, "subCategory" : { "type" : "string", "description" : "A specific category that contains more specific detail about the error", "example" : null } }, "example" : null }, "IpRange" : { "required" : [ "cidr", "description", "direction", "service" ], "type" : "object", "properties" : { "cidr" : { "type" : "string", "description" : "The CIDR notation representing the IP range.", "example" : null }, "description" : { "type" : "string", "description" : "A description of the IP range.", "example" : null }, "direction" : { "type" : "string", "description" : "The direction of the IP traffic, which can be INGRESS or EGRESS.", "example" : null, "enum" : [ "EGRESS", "INGRESS" ] }, "service" : { "type" : "string", "description" : "The service associated with the IP range, such as EMAIL, API, DNS, or WEB_SCRAPING.", "example" : null, "enum" : [ "API", "DNS", "EMAIL", "TEST_SERVICE", "WEB_SCRAPING" ] } }, "example" : null }, "CollectionResponseIpRangeNoPaging" : { "required" : [ "results" ], "type" : "object", "properties" : { "results" : { "type" : "array", "example" : null, "items" : { "$ref" : "#/components/schemas/IpRange" } } }, "example" : null }, "WebhookSubscription" : { "required" : [ "appId", "createdAt", "id", "portalId", "updatedAt", "webhookUrl" ], "type" : "object", "properties" : { "appId" : { "type" : "integer", "format" : "int32", "example" : null }, "createdAt" : { "type" : "integer", "format" : "int64", "example" : null }, "createdByUserId" : { "type" : "integer", "format" : "int32", "example" : null }, "id" : { "type" : "integer", "format" : "int64", "example" : null }, "portalId" : { "type" : "integer", "format" : "int32", "example" : null }, "updatedAt" : { "type" : "integer", "format" : "int64", "example" : null }, "webhookUrl" : { "type" : "string", "example" : null } }, "example" : null }, "WebhookSubscriptionRequest" : { "required" : [ "webhookUrl" ], "type" : "object", "properties" : { "webhookUrl" : { "type" : "string", "example" : null } }, "example" : null }, "Error" : { "required" : [ "category", "correlationId", "message" ], "type" : "object", "properties" : { "category" : { "type" : "string", "description" : "The error category", "example" : null }, "context" : { "type" : "object", "additionalProperties" : { "type" : "array", "example" : null, "items" : { "type" : "string", "example" : null } }, "description" : "Context about the error condition", "example" : "{invalidPropertyName=[propertyValue], missingScopes=[scope1, scope2]}" }, "correlationId" : { "type" : "string", "description" : "A unique identifier for the request. Include this value with any error reports or support tickets", "format" : "uuid", "example" : "aeb5f871-7f07-4993-9211-075dc63e7cbf" }, "errors" : { "type" : "array", "description" : "further information about the error", "example" : null, "items" : { "$ref" : "#/components/schemas/ErrorDetail" } }, "links" : { "type" : "object", "additionalProperties" : { "type" : "string", "example" : null }, "description" : "A map of link names to associated URIs containing documentation about the error or recommended remediation steps", "example" : null }, "message" : { "type" : "string", "description" : "A human readable message describing the error along with remediation steps where appropriate", "example" : "An error occurred" }, "subCategory" : { "type" : "string", "description" : "A specific category that contains more specific detail about the error", "example" : null } }, "example" : { "message" : "Invalid input (details will vary based on the error)", "correlationId" : "aeb5f871-7f07-4993-9211-075dc63e7cbf", "category" : "VALIDATION_ERROR", "links" : { "knowledge-base" : "https://www.hubspot.com/products/service/knowledge-base" } } } }, "responses" : { "Error" : { "description" : "An error occurred.", "content" : { "*/*" : { "schema" : { "$ref" : "#/components/schemas/Error" }, "example" : null } } } }, "securitySchemes" : { "developer_hapikey" : { "type" : "apiKey", "name" : "hapikey", "in" : "query" }, "hapikey" : { "type" : "apiKey", "name" : "hapikey", "in" : "query" }, "oauth2" : { "type" : "oauth2", "flows" : { "authorizationCode" : { "authorizationUrl" : "https://app.hubspot.com/oauth/authorize", "tokenUrl" : "https://api.hubapi.com/oauth/v1/token" } } }, "private_apps" : { "type" : "apiKey", "name" : "private-app", "in" : "header" }, "private_apps_legacy" : { "type" : "apiKey", "name" : "private-app-legacy", "in" : "header" } } }, "x-hubspot-product-tier-requirements" : { "marketing" : "FREE", "sales" : "FREE", "service" : "FREE", "cms" : "FREE", "commerce" : "FREE", "crmHub" : "FREE", "dataHub" : "FREE" } }