Get the message object by its ID.

URL Parameters

NameDescriptionLocationRequiredDefault Value
messageIdThe ID of the messagePathYes

Body Parameters

None.

Authentication

JwtAuthenticator, Oauth2Authenticator, AnonymousAuthenticator

Authorization

OAuthAuthorizer and PERM_TOPIC_READ

Example Request

URL

GET https://spacesapis.zang.io/api/messages/{messageId}

Headers

Authorization: "jwt eyJhbGciOiJSUzI1NiIsIdfgdfgnR5cCI6IkpXVCJ9.eyJ1c2VyX2lkX3NpZyI6ImxPWHpxNzVzR3J3X0xwWEMyRGRMakhyYXJlWVhyTzFMdEZHZkhkOWNkTXciLCJwcm9kdWN0X3R5cGUiOiJhY2NvdW50cyIsImxhc3R1cGRhdGV0aW1lIjoiMjAxNy0wMS0zMFQxMzo1ODo0Ny4yMDYiLCJpc3MiOiJ6YW5nLmlvIiwicHVibGlja2V5aWQiOiJhZ3h6Zm05dVpYTnVZVEl3TVRSeUdnc1NEVWRLZDNSUWRXSnNhV05MWlhrdfgdWdJQ2dsUEtFakFvTSIsImV4cCI6MTQ5NTM5MTIwMywidXNlcl9pZCI6ImFneHpmbTl1WlhOdVlUSXdNVFJ5RVFzU0JGVnpaWElZZ0lEQXMtX25fUW9NIiwidmVyIjoiMi4wIn0.SqZpw1uPIebqW3qlDsm0-DWYFKEH0SgPwtD-tSESWOF-5hLkZMqJH28ooWux2S7s9riIew7pTVPnZpTgJa5zHcEAG0gXSEJVOqmpGp_4ufM8YtZoZMpBFjyAkwyAt-ILkGUYIo0GU5WyzMPLV8YLXfgdfgOgkE2MGGOajBkjPmC2Db3pA0D0M9k-21EL1gwWBC5YIq0PDAkgulegwl6khRmB8irJQ-dfg-d-KV9eYfFpsCdJKRGzSfqg"

Or

Authorization: "bearer f746696f5de4528u128ae2f274eea253e8a7943a"

Example Response

{
  "_id": "58d73d2e745b09a705f23017",
  "category": "chat",
  "topicId": "589099a9e50be8aa05df4422",
  "modified": "2017-03-26T04:02:23.534Z",
  "content": {
    "bodyText": "",
    "description": "",
    "data": [
      {
        "provider": "native",
        "providerFileType": "application/pdf",
        "fileType": "document",
        "name": "Welcome_to_IT.pdf",
        "fileId": "7831df28-9a5a-433e-a158-7b9a8b1ae8ed",
        "icon": "",
        "thumbnail": "",
        "keywords": "",
        "description": "",
        "previewFile": "",
        "fileSize": 8731855,
        "thumbnailFile": "7831df28-9a5a-433e-a158-7b9a8b1ae8ed_convert/thumbnail.jpg",
        "convertError": "",
        "metaData": {
          "stgeProvd": "gcs",
          "prvwProvd": "gcs",
          "paging": 0
        },
        "pages": 1,
        "nextSchedule": null,
        "convertStart": null,
        "convertStatus": 2,
        "path": "https://storage.googleapis.com/onesna/logan%2F7831df28-9a5a-433e-a158-7b9a8b1ae8ed?GoogleAccessId=logan-gcs@onesna-all.esna.com.iam.gserviceaccount.com&Expires=1492807654&Signature=e4fL3GmPqf4h%2BCLIi3wCLWE6kGzBczIk4Xvrj%2BP%2BJq8eTI2cAjhQW4HasR86G42Av1OLWwIyOV6I1I%2Bn6eOErxUuLoy6xF9NL49ULSAAChTJ6BS1ngJ%2Be3GrXpS3eis%2FJXjvrWQqT2esQA3NmM253SdZ3Ms5DJ5MGBu%2FYdEuBb2YNZJlogrOu0djIjh6EoibR%2B3ll1%2F10QOE85yDXoxOS4RI7l3Xcp%2FbxCboSN9FjPZiHArCaEUBcsFWqzoSGcSJ290st6eHecmVtxsKZhEl%2BN3qotXPvAQozfX0ob%2BS7fGNwsnZPjfhOqSpJm65HGdNbbvd9nuYQvFtrjDArO4VbQ%3D%3D&response-content-disposition=attachment%3B%20filename%3D%22Welcome_to_IT.pdf%22",
        "previewUrl": "https://storage.googleapis.com/onesna/logan%2F7831df28-9a5a-433e-a158-7b9a8b1ae8ed_convert%2Fthumbnail.jpg?GoogleAccessId=logan-gcs@onesna-all.esna.com.iam.gserviceaccount.com&Expires=1492807654&Signature=V%2FpEM5QP52EPo15XwcB7oCjPSiDEBmzVuJe6L%2Bv4xor7WRl4BiweaFRVk52V1PHp0RftU9zxXBKTcSEkOUOMAYEWOWkmKsEaa8knXXJZBqH7zlBrM3RGrDFdxFlGrgRe6Cu7gfXnip7OgrZGU2rT7qPh5Y5QVCmWSBdPTURGN9HDpgFLLVykD%2FaogmTfmuVdxGy686H%2FozqLJFxKruq4wl7HzaXLHxJl8%2Bv9eQv1qSqfChVK6FcY2%2Fl6hQlV%2FgbVbg8QFxlP0nMGXfjVwmqLd8ajhf4naO%2BB264XX0FWs%2ByGFHdqnLorNTTypPI5af%2F1EkFYTNffHFpmkLWwljL5jA%3D%3D",
        "thumbnailUrl": "https://storage.googleapis.com/onesna/logan%2F7831df28-9a5a-433e-a158-7b9a8b1ae8ed_convert%2Fthumbnail.jpg?GoogleAccessId=logan-gcs@onesna-all.esna.com.iam.gserviceaccount.com&Expires=1492807654&Signature=V%2FpEM5QP52EPo15XwcB7oCjPSiDEBmzVuJe6L%2Bv4xor7WRl4BiweaFRVk52V1PHp0RftU9zxXBKTcSEkOUOMAYEWOWkmKsEaa8knXXJZBqH7zlBrM3RGrDFdxFlGrgRe6Cu7gfXnip7OgrZGU2rT7qPh5Y5QVCmWSBdPTURGN9HDpgFLLVykD%2FaogmTfmuVdxGy686H%2FozqLJFxKruq4wl7HzaXLHxJl8%2Bv9eQv1qSqfChVK6FcY2%2Fl6hQlV%2FgbVbg8QFxlP0nMGXfjVwmqLd8ajhf4naO%2BB264XX0FWs%2ByGFHdqnLorNTTypPI5af%2F1EkFYTNffHFpmkLWwljL5jA%3D%3D"
      }
    ]
  },
  "created": "2017-03-26T04:01:41.989Z",
  "sender": {
    "_id": "584574923b3132a1e27b9510",
    "type": "user",
    "username": "han42@avaya.com",
    "displayname": "han42 han",
    "picture_url": "https://www.onesna.com/norevimages/noimage.jpg"
  },
  "likeCount": 0,
  "chatCount": 0
}