Webhooks¶
5 endpoints. Paths are relative to https://rmhstudios.com.
Endpoint |
Scope |
Summary |
|---|---|---|
|
|
List webhook endpoints |
|
|
Create a webhook endpoint |
|
|
Get a webhook endpoint |
|
|
Update a webhook endpoint |
|
|
Delete a webhook endpoint |
Reference¶
GET /api/v1/webhooks¶
Your registered webhook endpoints.
Scope: manage:webhooks · Success: 200 · Operation id: listWebhooks
Example response (200)
{
"data": [
{
"id": "wh_1",
"url": "https://example.com/hook",
"events": [
"post.created"
],
"enabled": true,
"createdAt": "2026-06-01T00:00:00.000Z"
}
]
}
POST /api/v1/webhooks¶
Register a URL to receive HMAC-signed event deliveries. The signing secret is returned once.
Scope: manage:webhooks · Success: 201 · Idempotent: accepts Idempotency-Key · Operation id: createWebhook
Request body (application/json)
Field |
Type |
Required |
Description |
|---|---|---|---|
|
|
yes |
HTTPS URL to deliver events to. |
|
|
yes |
Event names to subscribe to, or |
|
|
no |
Optional label. |
{
"url": "https://example.com/hook",
"events": [
"post.created",
"follow.created"
]
}
Example response (201)
{
"id": "wh_1",
"url": "https://example.com/hook",
"events": [
"post.created",
"follow.created"
],
"enabled": true,
"secret": "whsec_…",
"createdAt": "2026-06-01T00:00:00.000Z"
}
GET /api/v1/webhooks/{id}¶
One webhook endpoint with recent delivery attempts.
Scope: manage:webhooks · Success: 200 · Operation id: getWebhook
Parameter |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string |
yes |
The webhook id. |
Example response (200)
{
"id": "wh_1",
"url": "https://example.com/hook",
"events": [
"post.created"
],
"enabled": true,
"failureCount": 0,
"recentDeliveries": []
}
PATCH /api/v1/webhooks/{id}¶
Update the URL, subscribed events, description, or enabled state.
Scope: manage:webhooks · Success: 200 · Operation id: updateWebhook
Parameter |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string |
yes |
The webhook id. |
Request body (application/json)
Field |
Type |
Required |
Description |
|---|---|---|---|
|
|
no |
New HTTPS URL. |
|
|
no |
New event subscription list. |
|
|
no |
New label. |
|
|
no |
Enable or disable deliveries. |
{
"enabled": false
}
Example response (200)
{
"id": "wh_1",
"url": "https://example.com/hook",
"events": [
"post.created"
],
"enabled": false
}
DELETE /api/v1/webhooks/{id}¶
Permanently remove a webhook endpoint.
Scope: manage:webhooks · Success: 204 · Operation id: deleteWebhook
Parameter |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string |
yes |
The webhook id. |