Postman apiSecurity API
The apiSecurity API from Postman — 1 operation(s) for apisecurity.
The apiSecurity API from Postman — 1 operation(s) for apisecurity.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/postman-apisecurity-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Postman API Security API
version: 1.0.0
servers:
- url: https://api.postman.com
description: https://api.postman.com
- url: https://api.eu.postman.com
description: https://api.eu.postman.com
tags:
- name: apiSecurity
paths:
/security/api-validation:
post:
operationId: schemaSecurityValidation
summary: API definition security validation
description: 'Performs an analysis on the given definition and returns any issues based on your [predefined rulesets](https://learning.postman.com/docs/api-governance/configurable-rules/configurable-rules-overview/). This endpoint can help you understand the violations'' impact and offers solutions to help you resolve any errors. You can include this endpoint to your CI/CD process to automate schema validation.
**Note:**
- The maximum allowed size of the definition is 10 MB.
- You must [import and enable](https://learning.postman.com/docs/api-governance/configurable-rules/configuring-api-governance-rules/) Postman''s [OWASP security rules](https://postman.postman.co/api-governance/libraries/postman_owasp/view) for this endpoint to return any security rule violations.
'
tags:
- apiSecurity
parameters:
- name: x-api-key
in: header
required: true
schema:
type: string
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/schemaSecurityValidationResponse'
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/commonErrorNameObjectNameMessage'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/SchemaSecurityValidationRequestUnauthorizedError'
'403':
description: Forbidden
content:
application/json:
schema:
$ref: '#/components/schemas/SchemaSecurityValidationRequestForbiddenError'
'500':
description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/SchemaSecurityValidationRequestInternalServerError'
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/schemaSecurityValidationRequest'
components:
schemas:
SchemaSecurityValidationRequestSchema:
type: object
properties:
language:
$ref: '#/components/schemas/SchemaSecurityValidationRequestSchemaLanguage'
description: The definition format.
schema:
type: string
description: The stringified API definition.
type:
$ref: '#/components/schemas/SchemaSecurityValidationRequestSchemaType'
description: The definition type.
required:
- language
- schema
- type
title: SchemaSecurityValidationRequestSchema
SchemaSecurityValidationRequestForbiddenError:
oneOf:
- $ref: '#/components/schemas/commonErrorTypeTitleDetailStatus'
- $ref: '#/components/schemas/commonErrorNameMessage'
title: SchemaSecurityValidationRequestForbiddenError
commonErrorTypeTitleDetailStatus:
type: object
properties:
type:
$ref: '#/components/schemas/CommonErrorTypeTitleDetailStatusType'
title:
type: string
description: A short summary of the problem.
detail:
type: string
description: Information about the error.
status:
type: integer
description: The error's HTTP status code.
title: commonErrorTypeTitleDetailStatus
SchemaSecurityValidationRequestSchemaType:
type: string
enum:
- openapi3
- openapi2
description: The definition type.
title: SchemaSecurityValidationRequestSchemaType
CommonErrorTypeTitleDetailDetail:
oneOf:
- type: string
- type: object
additionalProperties:
description: Any type
description: Information about the error.
title: CommonErrorTypeTitleDetailDetail
CommonErrorNameObjectNameMessageErrorName:
type: object
properties:
name:
type: string
description: The error name.
message:
type: string
description: The error message.
title: CommonErrorNameObjectNameMessageErrorName
schemaSecurityValidationResponse:
type: object
properties:
warnings:
type: array
items:
type: object
additionalProperties:
description: Any type
description: 'Information about each issue discovered in the analysis. Each object includes the violation''s severity and category, the location of the issue, data paths, and other information. This returns an empty object if there are no issues present in the schema.
If there are issues, this returns the `possibleFixUrl` response in each warning object. This provides a link to documentation you can use to resolve the warning.
'
title: schemaSecurityValidationResponse
commonErrorNameMessage:
type: object
properties:
error:
$ref: '#/components/schemas/CommonErrorNameMessageError'
description: Information about the error.
title: commonErrorNameMessage
SchemaSecurityValidationRequestSchemaLanguage:
type: string
enum:
- json
- yaml
description: The definition format.
title: SchemaSecurityValidationRequestSchemaLanguage
SchemaSecurityValidationRequestUnauthorizedError:
oneOf:
- $ref: '#/components/schemas/commonErrorTypeTitleDetailStatus'
- $ref: '#/components/schemas/commonErrorNameMessage'
title: SchemaSecurityValidationRequestUnauthorizedError
schemaSecurityValidationRequest:
type: object
properties:
schema:
$ref: '#/components/schemas/SchemaSecurityValidationRequestSchema'
title: schemaSecurityValidationRequest
CommonErrorNameMessageError:
type: object
properties:
name:
type: string
description: The error name.
message:
type: string
description: The error message.
description: Information about the error.
title: CommonErrorNameMessageError
CommonErrorTypeTitleDetailStatusType:
oneOf:
- type: string
format: uri-reference
- type: string
title: CommonErrorTypeTitleDetailStatusType
commonErrorTypeTitleDetail:
type: object
properties:
type:
type: string
description: The type of error.
title:
type: string
description: A short summary of the problem.
detail:
$ref: '#/components/schemas/CommonErrorTypeTitleDetailDetail'
description: Information about the error.
title: commonErrorTypeTitleDetail
CommonErrorNameObjectNameMessageError:
type: object
properties:
name:
$ref: '#/components/schemas/CommonErrorNameObjectNameMessageErrorName'
description: Information about the error.
title: CommonErrorNameObjectNameMessageError
commonErrorNameObjectNameMessage:
type: object
properties:
error:
$ref: '#/components/schemas/CommonErrorNameObjectNameMessageError'
description: Information about the error.
title: commonErrorNameObjectNameMessage
SchemaSecurityValidationRequestInternalServerError:
oneOf:
- $ref: '#/components/schemas/commonErrorTypeTitleDetail'
- $ref: '#/components/schemas/commonErrorTypeTitleDetailStatus'
- $ref: '#/components/schemas/commonErrorNameMessage'
title: SchemaSecurityValidationRequestInternalServerError
securitySchemes:
PostmanApiKey:
type: apiKey
in: header
name: x-api-key
basicAuth:
type: http
scheme: basic
scimApiKey:
type: apiKey
in: header
name: Authorization
description: A valid [SCIM API key](https://learning.postman.com/docs/administration/scim-provisioning/scim-provisioning-overview/#generating-scim-api-key) for calls to SCIM endpoints.
x-provenance:
first_party: true
method: harvested
provider_published: true
source: https://learning.postman.com/api-docs/openapi.json
harvested: '2026-08-05'
note: Postman's own OpenAPI 3.1 definition for the Postman API, served by its Fern-hosted API reference. 162 paths, 256 operations, servers api.postman.com and api.eu.postman.com.