Leiga
  1. Webhook Module(webhook)
Leiga
  • Authorize Module(authorize)
    • Get Permanent Token
      POST
    • Get Access Token
      POST
    • Refresh Access Token
      POST
  • User Module(user)
    • Get project member list (without pagination)
      GET
    • Get Project member list (with pagination)
      GET
    • Add Project Members
      POST
    • Remove Project Members
      DELETE
  • Organization Module(org)
    • Get Organization Users (with pagination)
      GET
    • Enable Organization User
      POST
    • Disable Organization User
      POST
    • Remove Organization User
      DELETE
  • Project Module(project)
    • Get Project Template List
      GET
    • Get Project List
      GET
    • Get Project Overview Template
      GET
    • New Project
      POST
    • Update Project
      PATCH
    • Get Project Information By Project Key
      GET
    • Get Project Information
      GET
    • Change Project Members Role
      POST
    • Get Project Roles
      GET
    • Get Project Roles
      POST
  • Issue Module(issue)
    • Get Issue Type List
    • Get Issue Scheme
    • Get Issue Fields
    • Get Issue Field Detail
    • Batch Add Issue
    • New Issue
    • Batch Update Issue
    • Update Issue
    • Get Issue Detail V2
    • Get Issue Detail
    • Get Issue Detail By Issue Number
    • Remove Issue
    • Batch Remove Issue
    • Query Issue List
    • Query Issue List V2
    • Get Project Issue Filter Fields
    • Get Issue Select Options
    • Get Issue Relations
    • Add Issue Relation
    • Remove Issue Relation
    • Batch Add Subtasks
    • Remove Subtask
    • Update Subtask
    • Get Subtask List
    • Update Subtask Status
    • Get Subtask Field List
    • Add Labour Record
    • Update Labour Record
    • Remove Labour Record
    • Labour Record List
    • Get Trash Select Option List(The free version does not support)
    • Get Trash List(The free version does not support)
    • Restore Issue(The free version does not support)
    • Get Finished Issue List
  • Sprint Module(sprint)
    • New Sprint
    • Update Sprint
    • Remove Sprint
    • Get Sprint Detail
    • Get Project Sprint List
  • Workflow Module(workflow)
    • Query Project Workflow List
    • Get State Transition List
  • Tag Module(tag)
    • New Tag
    • Update Tag
    • Remove Tag
    • Get Tag List
  • Epic Module(epic)
    • Epic Filter Options
    • Get Epic List
    • Epic Related Issue List
    • Get Epic Field List
    • Get Epic Field Detail
    • New Epic
    • Update Epic
    • Remove Epic
    • Get Epic Detail
    • Add Issues To Epic
  • Version Module(version)
    • Get Version Status List
    • Get Version Owner Options
    • Get Version List
    • New Version
    • Update Version
    • Remove Version
    • Release Version
    • Cancel Release Version
    • Archive Version
    • Cancel Archive Version
    • Get Version Details
    • Add Issue To Version
    • Remove Issue From Version
    • Version Related Issue List
  • Webhook Module(webhook)
    • Get Webhook Type List
      GET
    • Get Webhook Event List
      GET
    • New Webhook
      POST
    • Remove Webhook
      DELETE
    • Update Webhook
      PATCH
    • Get Webhook Detail
      GET
    • Query Webhook List
      POST
  • Comment Module(comment)
    • New Comment
    • Update Comment
    • Remove Comment
    • Get Comment List
    • Update Comment Sticker
    • List Comment Sticker
  • File Module(file)
    • Upload File
    • Download File
    • Remove File
    • Get File List
    • Bind File
  • Personal Message Module(msg)
    • Get Personal Message List
  1. Webhook Module(webhook)

Query Webhook List

POST
https://app.leiga.com/openapi/api/webhook/page
Webhook Module(webhook)
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://app.leiga.com/openapi/api/webhook/page' \
--header 'accessToken: ' \
--header 'Content-Type: application/json' \
--data-raw '{
    "createTimeOrderBy": "ASC",
    "createByIdSet": [
        1,
        2
    ],
    "pageNumber": 1,
    "name": "xxx",
    "pageSize": 10,
    "state": "disabled",
    "type": [
        "dingTalk"
    ],
    "projectId": 1
}'
Response Response Example
{
  "code": "0",
  "data": {
    "total": 1,
    "list": [
      {
        "createBy": 1,
        "webhookId": 1,
        "signature": "xxx",
        "createTime": 1646301600000,
        "name": "xxx",
        "state": "disabled",
        "type": "dingTalk",
        "projectId": 1,
        "url": "https://xxx.xxx.com/callback",
        "events": [
          {
            "eventCode": "create",
            "eventId": 1,
            "typeName": "xxx",
            "eventName": "xxx",
            "typeCode": "issue"
          }
        ]
      }
    ]
  }
}

Request

Header Params
Content-Type
string 
required
Example:
application/json
accessToken
string 
required
Example:
{{accessToken}}
Body Params application/json
createTimeOrderBy
string 
optional
Creation Time Sort (ASC|DESC)
createByIdSet
array[integer <int64>]
optional
Creator ID List
pageNumber
integer <int32>
optional
Page Number
name
string 
optional
Webhook Name
pageSize
integer <int32>
optional
Page Size
state
string 
optional
Webhook state(enabled: Enabled, disabled: Disabled)
type
array[string]
optional
Webhook type
projectId
integer <int64>
required
Project ID
Examples

Responses

🟢200OK
application/json
Body
createBy
integer <int64>
optional
Creator ID
webhookId
integer <int64>
optional
Webhook ID
signature
string 
optional
Token
createTime
string <date>
optional
Creation Time
name
string 
optional
Webhook Name
state
string 
optional
Webhook state(enabled: Enabled, disabled: Disabled)
type
string 
optional
Webhook Type
projectId
integer <int64>
optional
Project ID
url
string 
optional
Callback URL
events
array [object {5}] 
optional
Event List
eventCode
string 
optional
Event Code
eventId
integer <int64>
optional
Event ID
typeName
string 
optional
Event Type Name
eventName
string 
optional
Event Name
typeCode
string 
optional
Event Type Code
Previous
Get Webhook Detail
Next
New Comment
Built with