Home / Servers / OpenAI API / create_webhook_endpoint

Create Webhook Endpoint

An MCP tool from the OpenAI API server, hosted on mcp.hjlabs.in.

Create Webhook Endpoint Creates a webhook endpoint for the authenticated project. [POST /webhook_endpoints]

Name on the gateway: openai_api__create_webhook_endpoint · may change things.

Parameters

NameTypeDescription
name requiredstringA human-readable name for the webhook endpoint.
url requiredstringThe HTTPS URL that receives webhook deliveries.
event_types requiredarrayThe event types that trigger deliveries to this endpoint.

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "openai_api__create_webhook_endpoint",
  "arguments": {
    "name": "…",
    "url": "…",
    "event_types": []
  }
}

Or connect the OpenAI API server directly, which lists 371 tools including this one:

Run in your terminal
claude mcp add --transport http hj-openai-api https://mcp.hjlabs.in/mcp/openai-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the create webhook endpoint tool with name set to ….

More from OpenAI API