Arkloop Developers

Webhooks

Webhook endpoints for receiving event pushes from Arkloop. All endpoints require Bearer Token authentication.

Create Webhook Endpoint

POST /v1/webhook-endpoints

Request Body

FieldTypeRequiredDescription
urlstringYesHTTPS URL to receive events
events[]stringYesList 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-endpoints

Get Webhook Endpoint

GET /v1/webhook-endpoints/{endpoint_id}

Update Webhook Endpoint

PATCH /v1/webhook-endpoints/{endpoint_id}

Request Body

FieldTypeDescription
enabledboolEnable/Disable

Delete Webhook Endpoint

DELETE /v1/webhook-endpoints/{endpoint_id}

Response

{ "ok": true }

On this page