Postman Webhooks API
The Webhooks API creates webhooks that trigger collection runs with custom payloads, integrating Postman with external systems (GitHub, Slack, custom triggers) for event-driven automation.
The Webhooks API creates webhooks that trigger collection runs with custom payloads, integrating Postman with external systems (GitHub, Slack, custom triggers) for event-driven automation.
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/webhooks-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 Webhooks API
version: 1.0.0
description: 'Operations tagged webhooks across 2 of this provider''s published API definitions: postman-api-openapi.yml, postman-webhooks-api-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.postman.com
description: https://api.postman.com
- url: https://api.eu.postman.com
description: https://api.eu.postman.com
- url: https://api.getpostman.com
description: Postman Production API Server
tags:
- name: webhooks
paths:
/webhooks:
post:
operationId: createWebhook
summary: Create a webhook
description: 'Creates a webhook that triggers a collection with a custom payload. You can get the webhook''s URL from the `webhookUrl` property in the endpoint''s response.
**Note:**
If you do not include the `workspace` query parameter, the system creates the webhook in the oldest personal Internal workspace you own.
'
tags:
- webhooks
parameters:
- name: workspace
in: query
description: The workspace's ID.
required: true
schema:
$ref: '#/components/schemas/workspaceId'
- name: x-api-key
in: header
required: true
schema:
type: string
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/createWebhookResponse'
'400':
description: Missing Parameter
content:
application/json:
schema:
$ref: '#/components/schemas/commonErrorNameMessageDetails'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/CreateWebhookRequestUnauthorizedError'
'500':
description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/CreateWebhookRequestInternalServerError'
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/createWebhook'
servers:
- url: https://api.postman.com
description: https://api.postman.com
- url: https://api.eu.postman.com
description: https://api.eu.postman.com
components:
schemas:
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
CreateWebhookRequestInternalServerError:
oneOf:
- $ref: '#/components/schemas/commonErrorTypeTitleDetail'
- $ref: '#/components/schemas/commonErrorTypeTitleDetailStatus'
- $ref: '#/components/schemas/commonErrorNameMessage'
title: CreateWebhookRequestInternalServerError
CommonErrorTypeTitleDetailDetail:
oneOf:
- type: string
- type: object
additionalProperties:
description: Any type
description: Information about the error.
title: CommonErrorTypeTitleDetailDetail
CreateWebhookRequestUnauthorizedError:
oneOf:
- $ref: '#/components/schemas/commonErrorTypeTitleDetailStatus'
- $ref: '#/components/schemas/commonErrorNameMessage'
title: CreateWebhookRequestUnauthorizedError
createWebhook:
type: object
properties:
webhook:
$ref: '#/components/schemas/CreateWebhookWebhook'
title: createWebhook
commonErrorNameMessage:
type: object
properties:
error:
$ref: '#/components/schemas/CommonErrorNameMessageError'
description: Information about the error.
title: commonErrorNameMessage
CommonErrorNameMessageDetailsError:
type: object
properties:
name:
type: string
description: The error name.
message:
type: string
description: The error message.
details:
$ref: '#/components/schemas/CommonErrorNameMessageDetailsErrorDetails'
description: Information about the error.
title: CommonErrorNameMessageDetailsError
workspaceId:
type: string
title: workspaceId
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
CommonErrorNameMessageDetailsErrorDetails:
oneOf:
- type: object
additionalProperties:
description: Any type
- type: array
items:
type: string
description: Information about the error.
title: CommonErrorNameMessageDetailsErrorDetails
CreateWebhookResponseWebhook:
type: object
properties:
id:
type: string
description: The webhook's ID.
name:
type: string
description: The webhook's name.
collection:
type: string
format: uid
description: The unique ID of the collection that triggers when calling this webhook.
webhookUrl:
type: string
description: The webhook's URL.
uid:
type: string
format: uid
description: The webhook's unique ID.
title: CreateWebhookResponseWebhook
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
CreateWebhookWebhook:
type: object
properties:
collection:
type: string
format: uid
description: The unique ID of the collection to trigger when calling this webhook.
environment:
type: string
format: uid
description: The unique ID of the environment to trigger when calling this webhook.
name:
type: string
description: The webhook's name. On success, the system creates a new monitor with this name in the **Monitors** tab.
required:
- collection
- name
title: CreateWebhookWebhook
createWebhookResponse:
type: object
properties:
webhook:
$ref: '#/components/schemas/CreateWebhookResponseWebhook'
title: createWebhookResponse
commonErrorNameMessageDetails:
type: object
properties:
error:
$ref: '#/components/schemas/CommonErrorNameMessageDetailsError'
title: commonErrorNameMessageDetails
Webhook:
type: object
description: A Postman webhook that triggers collection runs on HTTP POST requests.
properties:
id:
type: string
description: The webhook's unique ID
name:
type: string
description: The webhook name
collection:
type: string
description: The collection UID being triggered
webhookUrl:
type: string
format: uri
description: The URL that triggers the webhook when it receives a POST request
uid:
type: string
description: The webhook's UID
createdAt:
type: string
format: date-time
responses:
BadRequestError:
description: Bad request - invalid input
content:
application/json:
schema:
type: object
properties:
error:
type: object
properties:
name:
type: string
message:
type: string
InternalServerError:
description: An unexpected error occurred on the server
content:
application/json:
schema:
type: object
properties:
error:
type: object
properties:
name:
type: string
message:
type: string
RateLimitError:
description: Too many requests - rate limit exceeded
content:
application/json:
schema:
type: object
properties:
error:
type: string
message:
type: string
UnauthorizedError:
description: Authentication credentials are missing or invalid
content:
application/json:
schema:
type: object
properties:
error:
type: object
properties:
name:
type: string
message:
type: string
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.
apiKeyAuth:
type: apiKey
name: x-api-key
in: header
description: Postman API key for authentication.
x-refined-from:
- postman-api-openapi.yml
- postman-webhooks-api-openapi.yml