Thư điện tử

Danh sách thư

Page through sent emails, newest first.

GET/emails
1curl -X GET 'https://sendtern.com/emails?status=bounced&limit=20' \
2  -H 'Authorization: Bearer st_your_api_key'
Phản hồi
1{
2  "object": "list",
3  "data": [],
4  "has_more": false
5}

Requires a Full access key. Results are sorted by created_at, newest first.

Tùy chọn

qstring

Tìm kiếm theo địa chỉ người nhận hoặc chủ đề.

statusstring

Một trong số queued, sent, delivered, delayed, bounced.

afterstring

ID của thư điện tử cuối cùng trên trang trước.

limitnumber

Mục trên mỗi trang, 1 đến 100. Mặc định là 30.