Get a Message by ID
Authorizations
X-Ledger-API-KeystringRequired
If you've set up your API Key when initializing your LAM, you'll need to include it as a header along with the api user header. For more details, see step 5 of the get started documentation.
X-Ledger-API-UserstringRequired
(required) Username of a registered API User
Path parameters
message_idintegerRequired
The message's ID.
Responses
200
Message object
application/json
account_idintegerRequiredExample:
1addressstring · nullableOptionalDefault:
The address used to signed the message
nullExample: bc1q2kqvs8wx455lw2f69j5z34emypjup07fp0fcrpcreated_byintegerRequiredExample:
5created_onstring · date-timeRequired
datastringRequiredExample:
The content of the message
Welcome to the web3idintegerRequired
last_requestinteger · nullableOptionalDefault:
nullExample: 3message_typeundefined · enumRequiredExample:
The type of the message
EIP-191Possible values: signaturestring · nullableOptionalDefault:
The DER signature of the message
nullExample: 0xstatusstring · enumRequiredExample:
PENDING_APPROVALPossible values: typeanyOptionalDefault:
MESSAGE_SIGNATURE404
Message not found
application/json
get
/messages/{message_id}Last updated