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)

Get Webhook Type List

GET
https://app.leiga.com/openapi/api/webhook/list-types
Webhook Module(webhook)
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://app.leiga.com/openapi/api/webhook/list-types?projectId=1' \
--header 'accessToken: ' \
--header 'Content-Type: application/json'
Response Response Example
{
  "code": "0",
  "data": [
    {
      "code": "dingTalk",
      "name": "xxx"
    },
    {
      "code": "workWechat",
      "name": "yyy"
    },
    {
      "code": "feiShu",
      "name": "zzz"
    }
  ]
}

Request

Query Params
projectId
integer <int64>
required
Project ID
Example:
1
Header Params
Content-Type
string 
required
Example:
application/json
accessToken
string 
required
Example:
{{accessToken}}

Responses

🟢200OK
application/json
Body
code
string 
optional
Webhook Type Code
name
string 
optional
Webhook Type Name
Modified at 2024-06-12 06:46:49
Previous
Version Related Issue List
Next
Get Webhook Event List
Built with