Skip to main content
GET
https://api.bunship.com
/
api
/
v1
/
organizations
/
{orgId}
/
webhooks
List Webhook Endpoints
curl --request GET \
  --url https://api.bunship.com/api/v1/organizations/{orgId}/webhooks \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": [
    {
      "id": "wh_abc123",
      "organizationId": "org_cld2abc123def456",
      "url": "https://example.com/webhooks/bunship",
      "description": "Production webhook handler",
      "events": ["member.added", "member.removed", "subscription.updated"],
      "isActive": true,
      "createdAt": "2024-01-15T10:00:00Z",
      "updatedAt": "2024-01-15T10:00:00Z"
    }
  ]
}
Returns all registered webhook endpoints for the organization. Secrets are not included in the list response — they are only returned at creation time.

Auth

Requires a valid Bearer token. User must be a member of the organization.

Path Parameters

orgId
string
required
Organization identifier.

Response

success
boolean
Always true on success.
data
array
Array of webhook endpoint objects.
{
  "success": true,
  "data": [
    {
      "id": "wh_abc123",
      "organizationId": "org_cld2abc123def456",
      "url": "https://example.com/webhooks/bunship",
      "description": "Production webhook handler",
      "events": ["member.added", "member.removed", "subscription.updated"],
      "isActive": true,
      "createdAt": "2024-01-15T10:00:00Z",
      "updatedAt": "2024-01-15T10:00:00Z"
    }
  ]
}

Example

curl https://api.bunship.com/api/v1/organizations/org_cld2abc123def456/webhooks \
  -H "Authorization: Bearer eyJhbGciOiJIUzI1NiIs..."