5 endpoints.
| Method | Path | Summary |
|---|---|---|
GET | /api/communities/{communityId}/tasks/webhooks | List webhooks (قائمة الويب هوكس) |
POST | /api/communities/{communityId}/tasks/webhooks | Create webhook (إنشاء ويب هوك) |
DELETE | /api/communities/{communityId}/tasks/webhooks/{webhookId} | Delete webhook (حذف الويب هوك) |
GET | /api/communities/{communityId}/tasks/webhooks/{webhookId} | Get webhook (تفاصيل الويب هوك) |
PUT | /api/communities/{communityId}/tasks/webhooks/{webhookId} | Update webhook (تحديث الويب هوك) |
GET /api/communities/{communityId}/tasks/webhooksReturns all webhook configurations for task events Auth: Bearer JWT required.
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
— | — | no | — | — |
Responses
| Status | Description | Body |
|---|---|---|
200 | List of webhooks | object |
POST /api/communities/{communityId}/tasks/webhooksCreates a new webhook to receive task event notifications Auth: Bearer JWT required.
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
— | — | no | — | — |
Request body (required) — application/json
Type: CreateWebhookRequest
Responses
| Status | Description | Body |
|---|---|---|
201 | Webhook created | object |
DELETE /api/communities/{communityId}/tasks/webhooks/{webhookId}Auth: Bearer JWT required.
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
— | — | no | — | — |
— | — | no | — | — |
Responses
| Status | Description | Body |
|---|---|---|
200 | Webhook deleted | — |
GET /api/communities/{communityId}/tasks/webhooks/{webhookId}Auth: Bearer JWT required.
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
— | — | no | — | — |
— | — | no | — | — |
Responses
| Status | Description | Body |
|---|---|---|
200 | Webhook details | object |
PUT /api/communities/{communityId}/tasks/webhooks/{webhookId}Auth: Bearer JWT required.
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
— | — | no | — | — |
— | — | no | — | — |
Request body (required) — application/json
Type: CreateWebhookRequest
Responses
| Status | Description | Body |
|---|---|---|
200 | Webhook updated | — |