---
title: "GET /ver2/MessageService.svc/messages/{messageId}"
method: GET
path: "/ver2/MessageService.svc/messages/{messageId}"
tags: ["Message"]
---

# GET /ver2/MessageService.svc/messages/{messageId}

`GET /ver2/MessageService.svc/messages/{messageId}`

## Request

- Base URL: `https://api.enviance.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.enviance.com/ver2/MessageService.svc/messages/{messageId}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/enviance/apis/restapi/docs/ver2/MessageService.svc/messages/:messageId/get.ts> (a function with typed inputs; its response is checked against the schema)

Gets a message from the Enviance User Inbox. A User may only retrieve messages from his own Inbox. Getting a message through this API does NOT mark the message as *read*.

**SDK API:**  `envianceSdk.messages.getMessage(messageId, onsuccess, onerror)`

```
GET /ver2/MessageService.svc/messages/d8ac14f5-c4b1-4db2-b0fc-15452f71737d HTTP/1.1

//RESPONSE
{
  "id": "d8ac14f5-c4b1-4db2-b0fc-15452f71737d",
  "recipientId": "d2148a6f-4989-4a61-9c27-855a110f8c68",
  "sentById": "21e1f9b6-fc7c-4257-85f1-01d097762d09",
  "sentOn": "2013-06-14T14:07:52",
  "subject": "Report Completion Notification: \"Emergency Checklist Report\"",
  "body": "This is to notify you that the \"Emergency Checklist Report\" is complete.",
  "type": "EmailNotification",
  "archived": false,
  "read": false
}

```



envianceSdk.messages.getMessage
```
[
  "5bfdbd05-225f-40ee-bff1-2efe18a75375",
  "onsuccess",
  "onerror"
]
```

## Path parameters

- `messageId` string, required

## Headers

- `EnvApi-Systemid` string
- `EnvApi-Packageid` string
- `EnvApi-Udf-DateTime-Iso-In-CustomFields` string
- `EnvApi-Udf-DateTime-ReadInUserTz` string
- `EnvApi-Udf-Value-Invariant` string
- `EnvApi-Localization-All` string
- `x-client-request-id` string

## Response `default`

not available

- EnvianceRestServicesVer2MessagesMessageInfo
  - `id` string, guid
  - `recipientIdOrUserName` string
  - `sentByIdOrUserName` string
  - `sentOn` string, date-time
  - `subject` string
  - `body` string
  - `type` string
  - `archived` boolean
  - `read` boolean
  - `sendByEmail` boolean

---

[API](https://skmtc.dev/enviance/apis/restapi.md) - [All operations](https://skmtc.dev/enviance/apis/restapi/llms.txt) - [OpenAPI document](https://skmtc.dev/enviance/apis/restapi/revisions/45b2200a8cf2?raw)
