Leiga
  1. Personal Message Module(msg)
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
    • Get Issue Scheme
      GET
    • Get Issue Fields
      GET
    • Get Issue Field Detail
      GET
    • Batch Add Issue
      POST
    • New Issue
      POST
    • Batch Update Issue
      PATCH
    • Update Issue
      PATCH
    • Get Issue Detail V2
      GET
    • Get Issue Detail
      GET
    • Get Issue Detail By Issue Number
      GET
    • Remove Issue
      DELETE
    • Batch Remove Issue
      DELETE
    • Query Issue List
      POST
    • Query Issue List V2
      POST
    • Get Project Issue Filter Fields
      POST
    • Get Issue Select Options
      POST
    • Get Issue Relations
      GET
    • Add Issue Relation
      POST
    • Remove Issue Relation
      POST
    • Batch Add Subtasks
      POST
    • Remove Subtask
      DELETE
    • Update Subtask
      PATCH
    • Get Subtask List
      POST
    • Update Subtask Status
      PATCH
    • Get Subtask Field List
      POST
    • Add Labour Record
      POST
    • Update Labour Record
      PATCH
    • Remove Labour Record
      DELETE
    • Labour Record List
      POST
    • Get Trash Select Option List(The free version does not support)
      POST
    • Get Trash List(The free version does not support)
      POST
    • Restore Issue(The free version does not support)
      POST
    • Get Finished Issue List
      POST
  • 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 Webhook Event List
    • New Webhook
    • Remove Webhook
    • Update Webhook
    • Get Webhook Detail
    • Query Webhook List
  • 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
      POST
  1. Personal Message Module(msg)

Get Personal Message List

POST
https://app.leiga.com/openapi/api/msg/list
Personal Message Module(msg)
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://app.leiga.com/openapi/api/msg/list' \
--header 'accessToken: ' \
--header 'Content-Type: application/json' \
--data-raw '{
    "read": true,
    "pageNumber": 1,
    "pageSize": 10,
    "category": [
        "comment"
    ]
}'
Response Response Example
{
  "code": "0",
  "data": {
    "total": 1,
    "list": [
      {
        "receiverId": 1,
        "triggerName": "xxx",
        "createTime": 1646301600000,
        "reminderReceiveId": 1,
        "subject": "xxx",
        "receiverName": "xxx",
        "msgId": 1,
        "action": "at",
        "hasRead": 1,
        "plainReceiverName": "xxx",
        "content": "xxx"
      }
    ]
  }
}

Request

Header Params
Content-Type
string 
required
Example:
application/json
accessToken
string 
required
Example:
{{accessToken}}
Body Params application/json
read
boolean 
optional
Message Read Flag
pageNumber
integer <int32>
optional
Page Number
pageSize
integer <int32>
optional
Page Size
category
array [object] 
optional
Message Category,comment(@Me)/follow(Watching)/responsible(Direct)/automation_station_msg(Automation)/sys(System Notification)
Examples

Responses

🟢200OK
application/json
Body
receiverId
integer <int64>
optional
Message Receiver ID
triggerName
string 
optional
Message Trigger User Name
createTime
string <date>
optional
Creation Time
reminderReceiveId
integer <int64>
optional
Reminder Receive ID
subject
string 
optional
Message Subject
receiverName
string 
optional
Receiver User Name
msgId
integer <int64>
optional
Message ID
action
string 
optional
Message Action
hasRead
string <byte>
optional
Read Flag (1:Yes 0:No)
<= 4 characters
plainReceiverName
string 
optional
纯文本
content
string 
optional
Message Content
Previous
Bind File
Built with