provider Messages GET /messages/{message_id}
@utdk/front /messages/{message_id}
Get message
Fetch a message. > ℹ️ The HTTP Header `Accept` can be used to request the message in a different format. > By default, Front will return the documented JSON response. By requesting `message/rfc822`, the response will contain the message in the EML format (for email messages only). Required scope: `messages:read`
message_id path required
The message ID
string

Try it

Authentication
Configure credentials for Core API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

getMessage
GET/messages/{message_id}
Fetch a message. > ℹ️ The HTTP Header `Accept` can be used to request the message in a different format. > By default, Front will return the documented JSON response. By requesting `message/rfc822`, the response will contain the message in the EML format (for email messages only). Required scope: `messages:read`

Parameters

required

The message ID

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import front from '@utdk/front';

await front.getMessage({
  "message_id": "msg_123"
})