Skip to main content
GET
/
v1
/
emails
/
{id}
Retrieve a message
curl --request GET \
  --url https://api.drin.run/v1/emails/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "from": "<string>",
  "to": [
    "<string>"
  ],
  "subject": "<string>",
  "status": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "events": [
    {}
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.drin.run/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Your Drin API key, sent as Authorization: Bearer <key>.

Path Parameters

id
string
required

Response

The message with its full lifecycle.

id
string
from
string
to
string[]
subject
string | null
status
string
direction
enum<string>
Available options:
inbound,
outbound
createdAt
string<date-time>
events
object[]