Webhooks
Webhook endpoints for receiving event pushes from Arkloop. All endpoints require Bearer Token authentication.
Create Webhook Endpoint
POST /v1/webhook-endpointsRequest Body
| Field | Type | Required | Description |
|---|---|---|---|
url | string | Yes | HTTPS URL to receive events |
events | []string | Yes | List of subscribed event types |
Response 201 Created
{
"id": "...",
"org_id": "...",
"url": "https://example.com/webhooks/arkloop",
"events": ["run.completed", "run.failed"],
"enabled": true,
"created_at": "2024-01-01T00:00:00Z"
}List Webhook Endpoints
GET /v1/webhook-endpointsGet Webhook Endpoint
GET /v1/webhook-endpoints/{endpoint_id}Update Webhook Endpoint
PATCH /v1/webhook-endpoints/{endpoint_id}Request Body
| Field | Type | Description |
|---|---|---|
enabled | bool | Enable/Disable |
Delete Webhook Endpoint
DELETE /v1/webhook-endpoints/{endpoint_id}Response
{ "ok": true }