Get Message Read Receipts
    • Dark
      Light
    • PDF

    Get Message Read Receipts

    • Dark
      Light
    • PDF

    Article summary

    Get
    /api/v1/chat.getMessageReadReceipts
    Premium tag

    Get the read receipts of messages.

    Changelog

    VersionDescription
    0.63.0Added
    Header parameters
    X-Auth-Token
    stringRequired

    The authToken of the authenticated user.

    ExampleRScctEHSmLGZGywfIhWyRpyofhKOiMoUIpimhvheU3f
    X-User-Id
    stringRequired

    The userId of the authenticated user.

    ExamplerbAXPnMktTFbNpwtJ
    Query parameters
    offset
    integer

    Number of items to "skip" in the query, i.e. requests return count items, skipping the first offset items.

    Example50
    count
    integer

    The number of items to return.

    Example50
    messageId
    stringRequired

    The message id

    ExampleByehQjC44FwMeiLbX
    Responses
    200

    OK

    Example 1
    {
      "receipts": [
        {
          "_id": "HksCYdTpCiM9DZ7Sa",
          "roomId": "GENERAL",
          "userId": "nvw6PBrXTejp4sfQt",
          "messageId": "WyDsZzjk2wHogtWK2",
          "ts": "2018-02-26T20:34:03.907Z",
          "user": {
            "username": "rocket.cat",
            "name": "Rocket cat",
            "_id": "nvw6PBrXTejp4sfQt"
          }
        }
      ],
      "success": true
    }
    Expand All
    object
    receipts
    Array of object
    object
    _id
    string
    roomId
    string
    userId
    string
    messageId
    string
    ts
    string
    user
    object
    username
    string
    name
    string
    _id
    string
    success
    boolean
    400

    Bad Request

    Example 1
    {
      "error": "The required 'messageId' param is missing.",
      "success": false
    }
    object
    error
    string
    success
    boolean
    401

    Unauthorized

    Authorization Error
    {
      "status": "error",
      "message": "You must be logged in to do this."
    }
    object
    status
    string
    message
    string


    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.