GET api/Messages/{id}?pwd={pwd}

Looks up for a message by ID and decode the message with the given password.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The ID of the message as a string of 8 character.

string

Required

pwd

The password to decode the message as a string of 6-18 characters.

string

Required

Body Parameters

None.

Response Information

Resource Description

The message encoded in Mtext on success otherwise null.

Messages
NameDescriptionTypeAdditional information
id

integer

None.

Mid

string

None.

Mextid

string

None.

Mdate

date

None.

Mtext

Collection of byte

None.

Mversion

integer

None.

Apikey

string

None.

Deleted

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "Mid": "sample string 2",
  "Mextid": "sample string 3",
  "Mdate": "2026-01-23T14:36:07.4336235+00:00",
  "Mtext": "QEA=",
  "Mversion": 5,
  "Apikey": "sample string 6",
  "Deleted": true
}

text/html

Sample:
{"id":1,"Mid":"sample string 2","Mextid":"sample string 3","Mdate":"2026-01-23T14:36:07.4336235+00:00","Mtext":"QEA=","Mversion":5,"Apikey":"sample string 6","Deleted":true}

application/xml, text/xml

Sample:
<Messages xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LeaveAMessageAPI.Models.Entitys">
  <Apikey>sample string 6</Apikey>
  <Deleted>true</Deleted>
  <Mdate>2026-01-23T14:36:07.4336235+00:00</Mdate>
  <Mextid>sample string 3</Mextid>
  <Mid>sample string 2</Mid>
  <Mtext>QEA=</Mtext>
  <Mversion>5</Mversion>
  <id>1</id>
</Messages>