전자 우편

전자 우편 가져오기

전체 이벤트 기록이 포함된 이메일을 받으세요.

GET/emails/:id
1curl -X GET 'https://sendtern.com/emails/47be30ca-24b7-48fb-b35d-ff287b89e66d' \
2  -H 'Authorization: Bearer st_your_api_key'
응답
1{
2  "id": "47be30ca-24b7-48fb-b35d-ff287b89e66d",
3  "object": "email",
4  "from": "hello@mail.example.com",
5  "to": [
6    "recipient@example.com"
7  ],
8  "subject": "Hello",
9  "last_event": "delivered",
10  "mode": "live",
11  "created_at": "2026-11-22T09:00:00.000Z",
12  "events": [
13    {
14      "kind": "delivered",
15      "created_at": "2026-11-22T09:00:01.000Z",
16      "detail": "250 2.0.0 OK"
17    }
18  ]
19}

Returns the email, its current status and every delivery event. Requires a Full access key.

경로 매개 변수

idstring필요한 항목

The email id, for example 47be30ca-24b7-48fb-b35d-ff287b89e66d.