Skip to main content
GET
/
webhooks
/
{webhookId}
Get webhook details
curl --request GET \
  --url https://core.cyberun.cloud/api/v1/webhooks/{webhookId} \
  --header 'Authorization: Bearer <token>'
{
  "id": "019abc12-0123-7890-abcd-ef1234567897",
  "display_name": "Task Completion Notifier",
  "webhook_url": "https://my-app.example.com/webhooks/cyberun",
  "webhook_secret": "whsec_a1b2c3d4e5f6g7h8i9j0",
  "webhook_events": [
    "task.completed",
    "task.failed"
  ],
  "webhook_status": "active",
  "created_at": "2025-02-01T12:00:00Z",
  "last_delivered_at": "2023-11-07T05:31:56Z"
}

Documentation Index

Fetch the complete documentation index at: https://docs.cyberun.cloud/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

User session JWT (Bearer ). Must be paired with the X-Team-ID request header on team-scoped endpoints so the server knows which team's resources to operate on.

Headers

X-Team-ID
string<uuid>

UUID of the team to scope the request to. Used by dual-auth endpoints (runtime + scoped management):

  • JWT callers MUST send it — a user may belong to multiple teams and the runtime cannot otherwise know which one to operate on. Missing header → 400.
  • Credential callers (sk-, dk-) can omit it because the team is derived from the credential row itself. Any value sent is ignored.
Example:

"019abc12-4567-7890-abcd-ef1234567891"

Path Parameters

webhookId
string<uuid>
required

UUID of the webhook.

Example:

"019abc12-0123-7890-abcd-ef1234567897"

Response

Webhook details

Full webhook details including the signing secret.

id
string<uuid>
required

Unique identifier of the webhook.

Example:

"019abc12-0123-7890-abcd-ef1234567897"

display_name
string
required

Human-readable name for the webhook.

Example:

"Task Completion Notifier"

webhook_url
string
required

HTTPS endpoint URL that receives webhook payloads.

Example:

"https://my-app.example.com/webhooks/cyberun"

webhook_secret
string
required

HMAC-SHA256 signing secret (prefixed with whsec_). Use this to verify the authenticity of incoming webhook payloads.

Example:

"whsec_a1b2c3d4e5f6g7h8i9j0"

webhook_events
enum<string>[]
required

Event types this webhook subscribes to.

Available options:
task.completed,
task.failed
Example:
["task.completed", "task.failed"]
webhook_status
enum<string>
required

Current webhook status: active receives events, disabled pauses delivery.

Available options:
active,
disabled
Example:

"active"

created_at
string<date-time>
required

Timestamp when the webhook was created (ISO 8601).

Example:

"2025-02-01T12:00:00Z"

last_delivered_at
string<date-time> | null

Timestamp of the most recent successful delivery. null if never delivered.