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
Example:
1
Header Params
Content-Type
string
required
Example:
application/json
accessToken
string
required
Example:
{{accessToken}}
Responses
Modified at 2024-06-12 06:46:49