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
Responses
Modified at 2024-06-12 06:46:49