Webhooks API
The webhooks endpoints, each in TypeScript, Python, the CLI and curl.
Set up
Section titled “Set up”npm install @reminix/sdkexport REMINIX_API_KEY="<your API key>"pip install reminixexport REMINIX_API_KEY="<your API key>"npm install -g @reminix/clireminix loginexport REMINIX_API_KEY="<your API key>"To pass the key yourself, use createClient({ apiKey: key }) in TypeScript or Reminix(api_key=key) in Python.
List webhook endpoints
Section titled “List webhook endpoints”GET /v1/workspace/webhook-endpoints Try it in the API playground (opens in a new tab) Scope: workspace.webhooks:read.
Lists the workspace’s outgoing webhook endpoints, newest first.
import { createClient } from "@reminix/sdk";
// Uses the REMINIX_API_KEY environment variable.const reminix = createClient();const webhookEndpoints = await reminix.workspace.webhookEndpoints.list();console.log(webhookEndpoints);from reminix import Reminix
# Uses the REMINIX_API_KEY environment variable.reminix = Reminix()webhook_endpoints = reminix.workspace.webhook_endpoints.list()print(webhook_endpoints)reminix workspace webhook-endpoints listcurl -X GET "https://api.reminix.com/v1/workspace/webhook-endpoints" \ -H "Authorization: Bearer $REMINIX_API_KEY"Returns:
{ "items": [ { "id": "we_3f0c1a2e-4b5d-4c6e-8f70-1a2b3c4d5e6f", "url": "https://example.com/hooks", "description": "Order sync", "enabled": true, "eventTypes": [ "workspace.member.joined" ], "environment": "live", "consecutiveFailures": 0, "lastHttpStatus": 200, "lastAttemptAt": "2026-08-19T12:05:00.000Z", "createdAt": "2026-08-19T12:00:00.000Z", "secret": "whsec_MfKQ9r8GKYqrTwjUPD8ILPZIo2LaLaSw" } ], "nextCursor": null}More about this endpoint
The list leaves out their signing secrets. A workspace has at most 10 endpoints, so the list is a single page. Its nextCursor is null. With a personal access token, the workspace’s owners and admins can call this, and members on the test side. A workspace API key with this scope can.
Add a webhook endpoint
Section titled “Add a webhook endpoint”POST /v1/workspace/webhook-endpoints Try it in the API playground (opens in a new tab) Scope: workspace.webhooks:write.
Registers an HTTPS URL to receive the workspace’s events.
import { createClient } from "@reminix/sdk";
// Uses the REMINIX_API_KEY environment variable.const reminix = createClient();const webhookEndpoint = await reminix.workspace.webhookEndpoints.create({ url: "https://example.com/hooks", eventTypes: [ "workspace.member.joined", ],});console.log(webhookEndpoint);from reminix import Reminix
# Uses the REMINIX_API_KEY environment variable.reminix = Reminix()webhook_endpoint = reminix.workspace.webhook_endpoints.create( url="https://example.com/hooks", event_types=["workspace.member.joined"],)print(webhook_endpoint)reminix workspace webhook-endpoints create \ --url https://example.com/hooks \ --event-type workspace.member.joinedcurl -X POST "https://api.reminix.com/v1/workspace/webhook-endpoints" \ -H "Authorization: Bearer $REMINIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"url":"https://example.com/hooks","eventTypes":["workspace.member.joined"]}'Returns:
{ "id": "we_3f0c1a2e-4b5d-4c6e-8f70-1a2b3c4d5e6f", "url": "https://example.com/hooks", "description": "Order sync", "enabled": true, "eventTypes": [ "workspace.member.joined" ], "environment": "live", "consecutiveFailures": 0, "lastHttpStatus": 200, "lastAttemptAt": "2026-08-19T12:05:00.000Z", "createdAt": "2026-08-19T12:00:00.000Z", "secret": "whsec_MfKQ9r8GKYqrTwjUPD8ILPZIo2LaLaSw"}| Field | Description |
|---|---|
url | The HTTPS URL that receives the events. |
description | A note for people managing the endpoint. |
eventTypes | Send only these event types, from event-types. Leave it out for every event. |
More about this endpoint
Deliveries use the same signature format as Svix. The response is the new endpoint with its signing secret (whsec_…) in secret. You see it only once, so store it to verify deliveries. The API refuses private hosts and hosts without HTTPS. A workspace can have at most 10 endpoints. With a personal access token, the workspace’s owners and admins can call this, and members on the test side. A workspace API key with this scope can.
Get a webhook endpoint
Section titled “Get a webhook endpoint”GET /v1/workspace/webhook-endpoints/{endpointId} Try it in the API playground (opens in a new tab) Scope: workspace.webhooks:read.
Returns one endpoint without its signing secret.
import { createClient } from "@reminix/sdk";
// Uses the REMINIX_API_KEY environment variable.const reminix = createClient();const webhookEndpoint = await reminix.workspace.webhookEndpoints.get("we_3f0c1a2e-4b5d-4c6e-8f70-1a2b3c4d5e6f");console.log(webhookEndpoint);from reminix import Reminix
# Uses the REMINIX_API_KEY environment variable.reminix = Reminix()webhook_endpoint = reminix.workspace.webhook_endpoints.get( "we_3f0c1a2e-4b5d-4c6e-8f70-1a2b3c4d5e6f",)print(webhook_endpoint)reminix workspace webhook-endpoints get \ we_3f0c1a2e-4b5d-4c6e-8f70-1a2b3c4d5e6fcurl -X GET "https://api.reminix.com/v1/workspace/webhook-endpoints/we_3f0c1a2e-4b5d-4c6e-8f70-1a2b3c4d5e6f" \ -H "Authorization: Bearer $REMINIX_API_KEY"Returns:
{ "id": "we_3f0c1a2e-4b5d-4c6e-8f70-1a2b3c4d5e6f", "url": "https://example.com/hooks", "description": "Order sync", "enabled": true, "eventTypes": [ "workspace.member.joined" ], "environment": "live", "consecutiveFailures": 0, "lastHttpStatus": 200, "lastAttemptAt": "2026-08-19T12:05:00.000Z", "createdAt": "2026-08-19T12:00:00.000Z", "secret": "whsec_MfKQ9r8GKYqrTwjUPD8ILPZIo2LaLaSw"}| Field | Description |
|---|---|
endpointId | The endpoint's ID. |
More about this endpoint
It shows whether the endpoint is on, its consecutive failures and its last delivery status. With a personal access token, the workspace’s owners and admins can call this, and members on the test side. A workspace API key with this scope can.
Update a webhook endpoint
Section titled “Update a webhook endpoint”PATCH /v1/workspace/webhook-endpoints/{endpointId} Try it in the API playground (opens in a new tab) Scope: workspace.webhooks:write.
Changes an endpoint’s URL, description or event types in place.
import { createClient } from "@reminix/sdk";
// Uses the REMINIX_API_KEY environment variable.const reminix = createClient();const webhookEndpoint = await reminix.workspace.webhookEndpoints.update("we_3f0c1a2e-4b5d-4c6e-8f70-1a2b3c4d5e6f", { url: "https://example.com/hooks", eventTypes: [ "workspace.member.joined", ],});console.log(webhookEndpoint);from reminix import Reminix
# Uses the REMINIX_API_KEY environment variable.reminix = Reminix()webhook_endpoint = reminix.workspace.webhook_endpoints.update( "we_3f0c1a2e-4b5d-4c6e-8f70-1a2b3c4d5e6f", url="https://example.com/hooks", event_types=["workspace.member.joined"],)print(webhook_endpoint)reminix workspace webhook-endpoints update \ we_3f0c1a2e-4b5d-4c6e-8f70-1a2b3c4d5e6f \ --url https://example.com/hooks \ --event-type workspace.member.joinedcurl -X PATCH "https://api.reminix.com/v1/workspace/webhook-endpoints/we_3f0c1a2e-4b5d-4c6e-8f70-1a2b3c4d5e6f" \ -H "Authorization: Bearer $REMINIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"url":"https://example.com/hooks","eventTypes":["workspace.member.joined"]}'Returns:
{ "id": "we_3f0c1a2e-4b5d-4c6e-8f70-1a2b3c4d5e6f", "url": "https://example.com/hooks", "description": "Order sync", "enabled": true, "eventTypes": [ "workspace.member.joined" ], "environment": "live", "consecutiveFailures": 0, "lastHttpStatus": 200, "lastAttemptAt": "2026-08-19T12:05:00.000Z", "createdAt": "2026-08-19T12:00:00.000Z", "secret": "whsec_MfKQ9r8GKYqrTwjUPD8ILPZIo2LaLaSw"}| Field | Description |
|---|---|
endpointId | The endpoint's ID. |
url | The HTTPS URL that receives the events. |
description | A note for people managing the endpoint. Null clears it. |
eventTypes | Send only these event types, from event-types. Null or an empty list means every event. |
More about this endpoint
Only the fields you send change. The endpoint keeps its signing secret, so receivers keep verifying deliveries. A new URL must pass the same checks as on create. It must use HTTPS and can’t be a private host. With a personal access token, the workspace’s owners and admins can call this, and members on the test side. A workspace API key with this scope can.
Remove a webhook endpoint
Section titled “Remove a webhook endpoint”DELETE /v1/workspace/webhook-endpoints/{endpointId} Try it in the API playground (opens in a new tab) Scope: workspace.webhooks:write.
Deletes the endpoint and its signing secret.
import { createClient } from "@reminix/sdk";
// Uses the REMINIX_API_KEY environment variable.const reminix = createClient();await reminix.workspace.webhookEndpoints.delete("we_3f0c1a2e-4b5d-4c6e-8f70-1a2b3c4d5e6f");from reminix import Reminix
# Uses the REMINIX_API_KEY environment variable.reminix = Reminix()reminix.workspace.webhook_endpoints.delete( "we_3f0c1a2e-4b5d-4c6e-8f70-1a2b3c4d5e6f",)reminix workspace webhook-endpoints delete \ we_3f0c1a2e-4b5d-4c6e-8f70-1a2b3c4d5e6f \ --yescurl -X DELETE "https://api.reminix.com/v1/workspace/webhook-endpoints/we_3f0c1a2e-4b5d-4c6e-8f70-1a2b3c4d5e6f" \ -H "Authorization: Bearer $REMINIX_API_KEY"Returns nothing (204).
| Field | Description |
|---|---|
endpointId | The endpoint's ID. |
More about this endpoint
All deliveries to the endpoint stop. Its delivery history goes with it. With a personal access token, the workspace’s owners and admins can call this, and members on the test side. A workspace API key with this scope can.
Re-enable a webhook endpoint
Section titled “Re-enable a webhook endpoint”POST /v1/workspace/webhook-endpoints/{endpointId}/enable Try it in the API playground (opens in a new tab) Scope: workspace.webhooks:write.
Resumes deliveries to an endpoint that stopped after repeated failures.
import { createClient } from "@reminix/sdk";
// Uses the REMINIX_API_KEY environment variable.const reminix = createClient();const webhookEndpoint = await reminix.workspace.webhookEndpoints.enable("we_3f0c1a2e-4b5d-4c6e-8f70-1a2b3c4d5e6f");console.log(webhookEndpoint);from reminix import Reminix
# Uses the REMINIX_API_KEY environment variable.reminix = Reminix()webhook_endpoint = reminix.workspace.webhook_endpoints.enable( "we_3f0c1a2e-4b5d-4c6e-8f70-1a2b3c4d5e6f",)print(webhook_endpoint)reminix workspace webhook-endpoints enable \ we_3f0c1a2e-4b5d-4c6e-8f70-1a2b3c4d5e6fcurl -X POST "https://api.reminix.com/v1/workspace/webhook-endpoints/we_3f0c1a2e-4b5d-4c6e-8f70-1a2b3c4d5e6f/enable" \ -H "Authorization: Bearer $REMINIX_API_KEY"Returns:
{ "id": "we_3f0c1a2e-4b5d-4c6e-8f70-1a2b3c4d5e6f", "url": "https://example.com/hooks", "description": "Order sync", "enabled": true, "eventTypes": [ "workspace.member.joined" ], "environment": "live", "consecutiveFailures": 0, "lastHttpStatus": 200, "lastAttemptAt": "2026-08-19T12:05:00.000Z", "createdAt": "2026-08-19T12:00:00.000Z", "secret": "whsec_MfKQ9r8GKYqrTwjUPD8ILPZIo2LaLaSw"}| Field | Description |
|---|---|
endpointId | The endpoint's ID. |
More about this endpoint
The endpoint keeps its signing secret. Its failure count resets. With a personal access token, the workspace’s owners and admins can call this, and members on the test side. A workspace API key with this scope can.
Send a test event
Section titled “Send a test event”POST /v1/workspace/webhook-endpoints/{endpointId}/test Try it in the API playground (opens in a new tab) Scope: workspace.webhooks:write.
Sends a ping event to the endpoint, signed like every delivery.
import { createClient } from "@reminix/sdk";
// Uses the REMINIX_API_KEY environment variable.const reminix = createClient();const result = await reminix.workspace.webhookEndpoints.test("we_3f0c1a2e-4b5d-4c6e-8f70-1a2b3c4d5e6f");console.log(result);from reminix import Reminix
# Uses the REMINIX_API_KEY environment variable.reminix = Reminix()result = reminix.workspace.webhook_endpoints.test( "we_3f0c1a2e-4b5d-4c6e-8f70-1a2b3c4d5e6f",)print(result)reminix workspace webhook-endpoints test \ we_3f0c1a2e-4b5d-4c6e-8f70-1a2b3c4d5e6fcurl -X POST "https://api.reminix.com/v1/workspace/webhook-endpoints/we_3f0c1a2e-4b5d-4c6e-8f70-1a2b3c4d5e6f/test" \ -H "Authorization: Bearer $REMINIX_API_KEY"Returns:
{ "deliveryId": "del_8a1b2c3d-4e5f-4a6b-9c7d-8e9f0a1b2c3d", "queued": false, "ok": true, "httpStatus": 200}| Field | Description |
|---|---|
endpointId | The endpoint's ID. |
More about this endpoint
Use it to check that an integration verifies and accepts deliveries. It answers 200 when we attempted the delivery right away, with the endpoint’s answer, and 202 when it went to the queue. With a personal access token, the workspace’s owners and admins can call this, and members on the test side. A workspace API key with this scope can.
List an endpoint’s deliveries
Section titled “List an endpoint’s deliveries”GET /v1/workspace/webhook-endpoints/{endpointId}/deliveries Try it in the API playground (opens in a new tab) Scope: workspace.webhooks:read.
Lists one endpoint’s delivery history, newest first.
import { createClient } from "@reminix/sdk";
// Uses the REMINIX_API_KEY environment variable.const reminix = createClient();const webhookDeliveries = await reminix.workspace.webhookDeliveries.list("we_3f0c1a2e-4b5d-4c6e-8f70-1a2b3c4d5e6f");console.log(webhookDeliveries);from reminix import Reminix
# Uses the REMINIX_API_KEY environment variable.reminix = Reminix()webhook_deliveries = reminix.workspace.webhook_deliveries.list( "we_3f0c1a2e-4b5d-4c6e-8f70-1a2b3c4d5e6f",)print(webhook_deliveries)reminix workspace webhook-deliveries list \ we_3f0c1a2e-4b5d-4c6e-8f70-1a2b3c4d5e6fcurl -X GET "https://api.reminix.com/v1/workspace/webhook-endpoints/we_3f0c1a2e-4b5d-4c6e-8f70-1a2b3c4d5e6f/deliveries" \ -H "Authorization: Bearer $REMINIX_API_KEY"Returns:
{ "items": [ { "id": "del_8a1b2c3d-4e5f-4a6b-9c7d-8e9f0a1b2c3d", "eventId": "evt_51c2d3e4-f5a6-4b7c-8d9e-0f1a2b3c4d5e", "eventType": "workspace.member.joined", "status": "delivered", "attempts": 1, "lastHttpStatus": 200, "lastAttemptAt": "2026-08-19T12:05:00.000Z", "createdAt": "2026-08-19T12:05:00.000Z" } ], "nextCursor": null}| Field | Description |
|---|---|
endpointId | The endpoint's ID. |
limit | Items per page, 1–100 (default 25). |
cursor | Opaque token from a previous page's nextCursor. |
before | Start from this moment: items older than it, newest first. Ignored with cursor, which already says where to go on. |
status | Only deliveries with this status. |
More about this endpoint
Each entry shows the delivery’s state, its attempts and the last HTTP status code. Payloads aren’t included. We keep the history for 30 days. Paginate with the opaque nextCursor. before starts from a moment, and status keeps one kind of delivery. With a personal access token, the workspace’s owners and admins can call this, and members on the test side. A workspace API key with this scope can.
Redeliver an event
Section titled “Redeliver an event”POST /v1/workspace/webhook-endpoints/{endpointId}/deliveries/{deliveryId}/redeliver Try it in the API playground (opens in a new tab) Scope: workspace.webhooks:write.
Sends a recorded delivery’s event again, as a new delivery.
import { createClient } from "@reminix/sdk";
// Uses the REMINIX_API_KEY environment variable.const reminix = createClient();const delivery = await reminix.workspace.webhookDeliveries.redeliver("we_3f0c1a2e-4b5d-4c6e-8f70-1a2b3c4d5e6f", "del_8a1b2c3d-4e5f-4a6b-9c7d-8e9f0a1b2c3d");console.log(delivery);from reminix import Reminix
# Uses the REMINIX_API_KEY environment variable.reminix = Reminix()delivery = reminix.workspace.webhook_deliveries.redeliver( "we_3f0c1a2e-4b5d-4c6e-8f70-1a2b3c4d5e6f", "del_8a1b2c3d-4e5f-4a6b-9c7d-8e9f0a1b2c3d",)print(delivery)reminix workspace webhook-deliveries redeliver \ we_3f0c1a2e-4b5d-4c6e-8f70-1a2b3c4d5e6f \ del_8a1b2c3d-4e5f-4a6b-9c7d-8e9f0a1b2c3dcurl -X POST "https://api.reminix.com/v1/workspace/webhook-endpoints/we_3f0c1a2e-4b5d-4c6e-8f70-1a2b3c4d5e6f/deliveries/del_8a1b2c3d-4e5f-4a6b-9c7d-8e9f0a1b2c3d/redeliver" \ -H "Authorization: Bearer $REMINIX_API_KEY"Returns:
{ "deliveryId": "del_8a1b2c3d-4e5f-4a6b-9c7d-8e9f0a1b2c3d", "queued": false, "ok": true, "httpStatus": 200}| Field | Description |
|---|---|
endpointId | The endpoint's ID. |
deliveryId | The delivery's ID. |
More about this endpoint
The new delivery gets its own history entry. The event id stays the same, so receivers can deduplicate. Redelivery only works on an enabled endpoint. It answers 200 when we attempted the delivery right away, with the endpoint’s answer, and 202 when it went to the queue. With a personal access token, the workspace’s owners and admins can call this, and members on the test side. A workspace API key with this scope can.
List event types
Section titled “List event types”GET /v1/workspace/event-types Try it in the API playground (opens in a new tab) Scope: workspace.webhooks:read.
Lists every workspace event a webhook endpoint can subscribe to, and what each one means.
import { createClient } from "@reminix/sdk";
// Uses the REMINIX_API_KEY environment variable.const reminix = createClient();const eventTypes = await reminix.workspace.eventTypes.list();console.log(eventTypes);from reminix import Reminix
# Uses the REMINIX_API_KEY environment variable.reminix = Reminix()event_types = reminix.workspace.event_types.list()print(event_types)reminix workspace event-types listcurl -X GET "https://api.reminix.com/v1/workspace/event-types" \ -H "Authorization: Bearer $REMINIX_API_KEY"Returns:
{ "items": [ { "type": "workspace.member.joined", "description": "A person joined the workspace, by accepting an invitation or being added. `data.userId` says who." } ], "nextCursor": null}More about this endpoint
Pass some as eventTypes when you add an endpoint. An endpoint without a list receives every event. Every type fits on one page, so nextCursor is null.