Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

E2B webhooks API

The webhooks API from E2B — 2 operation(s) for webhooks.

E2B webhooks API is one of 14 APIs that E2B publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 2 JSON Schema definitions.

Tagged areas include webhooks. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, a JSON-LD context, and 2 JSON Schemas.

This API exposes 5 operations across 2 paths, and defines 4 schemas. It is described by OpenAPI 3.0.0, at version 0.1.0.

Requests are made against a single base URL, https://api.e2b.app.

5 operations 2 paths 4 schemas 1 DELETE2 GET1 PATCH1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.0
API Version
0.1.0
Base URL
https://api.e2b.app
Authentication
API Key, HTTP Bearer, API Key, API Key, API Key
Resource Areas
1

Authentication & Security 5

E2B webhooks API declares 5 security schemes for authenticating requests. An API key is passed in the header as X-API-Key (ApiKeyAuth). It accepts HTTP bearer tokens (access_token) (AccessTokenAuth). An API key is passed in the header as X-Supabase-Token (Supabase1TokenAuth). An API key is passed in the header as X-Supabase-Team (Supabase2TeamAuth). An API key is passed in the header as X-Admin-Token (AdminTokenAuth).

Paths & Operations 5

Across 2 paths, the API surfaces 5 operations — 1 DELETE, 2 GET, 1 PATCH, 1 POST. Each is listed below with its method, path, parameters, and response codes.

webhooks 5
GET
/events/webhooks
List webhook subscriptions
→ 200
POST
/events/webhooks
Register a webhook subscription
body → 201
GET
/events/webhooks/{webhookID}
Get a webhook subscription
1 param → 200
PATCH
/events/webhooks/{webhookID}
Update a webhook subscription
1 param body → 200
DELETE
/events/webhooks/{webhookID}
Delete a webhook subscription
1 param → 200

Schemas 4

The contract defines 4 schemas that model the data the API accepts and returns. The most detailed are Webhook (7 properties), WebhookCreateRequest (5 properties), WebhookUpdateRequest (3 properties). Each schema is shown below with its type and property counts.

WebhookUpdateRequest
object
3 properties
Webhook
object
7 properties 5 required
WebhookCreateRequest
object
5 properties 3 required
SandboxLifecycleEventType
string
Documented sandbox lifecycle event types.

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

e2b-dev-webhooks-api-openapi.yml Raw ↑

Other APIs E2B publishes across the network.

E2B Code Interpreter SDK
E2B Desktop Sandbox SDK
E2B access-tokens API
E2B admin API
E2B api-keys API
E2B auth API
E2B events API
E2B Health API
E2B sandboxes API
E2B snapshots API
E2B tags API
E2B templates API