ClawOps Docs
API Reference

Webhook 목록 조회

GET
/v1/accounts/{accountId}/webhooks

계정에 등록된 webhook 목록을 반환합니다.

Authorization

BearerAuth
AuthorizationBearer <token>

API Key를 Bearer 토큰으로 전달

In: header

Path Parameters

accountId*string

계정 ID

Response Body

application/json

application/json

curl -X GET "https://example.com/v1/accounts/AC1a2b3c4d/webhooks"
{
  "data": [
    {
      "id": "clxyz123",
      "account_id": "AC1a2b3c4d",
      "url": "https://my-app.com/webhook",
      "events": [
        "message.sent",
        "message.received"
      ],
      "active": true,
      "created_at": "2019-08-24T14:15:22Z"
    }
  ]
}
{
  "error": "string",
  "code": "INVALID_PHONE_NUMBER"
}