Webhook map
commentscreate(comments.create)remove(comments.remove)update(comments.update)
issuescreate(issues.create)remove(issues.remove)update(issues.update)
projectscreate(projects.create)remove(projects.remove)update(projects.update)
HTTP handler setup
app/api/webhook/route.ts
Events
Comments
Create
comments.create
A comment was added to an issue
Payload
| Name | Type | Required | Description |
|---|---|---|---|
action | create | Yes | — |
type | Comment | Yes | — |
data | object | Yes | — |
url | string | Yes | — |
createdAt | string | Yes | — |
organizationId | string | Yes | — |
webhookId | string | Yes | — |
data full type
data full type
Response data full type
Response data full type
webhookHooks example
Remove
comments.remove
A comment was deleted
Payload
| Name | Type | Required | Description |
|---|---|---|---|
action | remove | Yes | — |
type | Comment | Yes | — |
data | object | Yes | — |
url | string | Yes | — |
createdAt | string | Yes | — |
organizationId | string | Yes | — |
webhookId | string | Yes | — |
data full type
data full type
Response data full type
Response data full type
webhookHooks example
Update
comments.update
A comment was updated
Payload
| Name | Type | Required | Description |
|---|---|---|---|
action | update | Yes | — |
type | Comment | Yes | — |
data | object | Yes | — |
updatedFrom | object | No | — |
url | string | Yes | — |
createdAt | string | Yes | — |
organizationId | string | Yes | — |
webhookId | string | Yes | — |
data full type
data full type
updatedFrom full type
updatedFrom full type
Response data full type
Response data full type
webhookHooks example
Issues
Create
issues.create
A new issue was created
Payload
| Name | Type | Required | Description |
|---|---|---|---|
action | create | Yes | — |
type | Issue | Yes | — |
data | object | Yes | — |
url | string | Yes | — |
createdAt | string | Yes | — |
organizationId | string | Yes | — |
webhookId | string | Yes | — |
data full type
data full type
Response data full type
Response data full type
webhookHooks example
Remove
issues.remove
An issue was deleted
Payload
| Name | Type | Required | Description |
|---|---|---|---|
action | remove | Yes | — |
type | Issue | Yes | — |
data | object | Yes | — |
url | string | Yes | — |
createdAt | string | Yes | — |
organizationId | string | Yes | — |
webhookId | string | Yes | — |
data full type
data full type
Response data full type
Response data full type
webhookHooks example
Update
issues.update
An issue was updated
Payload
| Name | Type | Required | Description |
|---|---|---|---|
action | update | Yes | — |
type | Issue | Yes | — |
data | object | Yes | — |
updatedFrom | object | No | — |
url | string | Yes | — |
createdAt | string | Yes | — |
organizationId | string | Yes | — |
webhookId | string | Yes | — |
data full type
data full type
updatedFrom full type
updatedFrom full type
Response data full type
Response data full type
webhookHooks example
Projects
Create
projects.create
A new project was created
Payload
| Name | Type | Required | Description |
|---|---|---|---|
action | create | Yes | — |
type | Project | Yes | — |
data | object | Yes | — |
url | string | Yes | — |
createdAt | string | Yes | — |
organizationId | string | Yes | — |
webhookId | string | Yes | — |
data full type
data full type
Response data full type
Response data full type
webhookHooks example
Remove
projects.remove
A project was deleted
Payload
| Name | Type | Required | Description |
|---|---|---|---|
action | remove | Yes | — |
type | Project | Yes | — |
data | object | Yes | — |
url | string | Yes | — |
createdAt | string | Yes | — |
organizationId | string | Yes | — |
webhookId | string | Yes | — |
data full type
data full type
Response data full type
Response data full type
webhookHooks example
Update
projects.update
A project was updated
Payload
| Name | Type | Required | Description |
|---|---|---|---|
action | update | Yes | — |
type | Project | Yes | — |
data | object | Yes | — |
updatedFrom | object | No | — |
url | string | Yes | — |
createdAt | string | Yes | — |
organizationId | string | Yes | — |
webhookId | string | Yes | — |
data full type
data full type
updatedFrom full type
updatedFrom full type
Response data full type
Response data full type
webhookHooks example