收信

列出邮件

GEThttps://api.temporam.com/v3/emails

参数类型默认值说明
emailstring—要查询的邮箱地址
pageinteger1页码
limitinteger20每页数量
  1. 1curl "https://api.temporam.com/v3/emails?email=demo%40temporam.com&page=1&limit=20" \
  2. 2 -H "Authorization: Bearer YOUR_API_KEY"

列表项包含 id、uuid、发件人、收件人、主题、摘要和时间,不含完整正文。

  1. 1{
  2. 2 "data": [
  3. 3 {
  4. 4 "id": "550e8400-e29b-41d4-a716-446655440000",
  5. 5 "uuid": "550e8400-e29b-41d4-a716-446655440000",
  6. 6 "from_email": "[email protected]",
  7. 7 "to_email": "[email protected]",
  8. 8 "subject": "Verification code",
  9. 9 "summary": "Your code is 123456",
  10. 10 "created_at": "2026-08-13T00:00:00Z",
  11. 11 "from_name": "Sender",
  12. 12 "to_name": "Demo",
  13. 13 "from_domain": "example.com",
  14. 14 "to_domain": "temporam.com"
  15. 15 }
  16. 16 ],
  17. 17 "meta": {
  18. 18 "total": 1,
  19. 19 "page": 1,
  20. 20 "limit": 20,
  21. 21 "remaining": 99
  22. 22 }
  23. 23}
响应字段类型说明
dataarray收件邮件列表
data[].idstring邮件 UUID
data[].uuidstring邮件 UUID
data[].created_atstring收件时间
data[].from_namestring发件人显示名称,可用时返回
data[].from_emailstring发件人邮箱地址
data[].to_namestring收件人显示名称,可用时返回
data[].to_emailstring收件人邮箱地址
data[].subjectstring邮件主题
data[].summarystring正文摘要
data[].from_domainstring发件域名,可用时返回
data[].to_domainstring收件域名,可用时返回
meta.totalinteger符合条件的邮件总数
meta.pageinteger当前页码
meta.limitinteger每页数量
meta.remaininginteger剩余收件额度,可用时返回

读取最新邮件

GEThttps://api.temporam.com/v3/emails/latest

参数位置类型必填说明
emailquerystring是要查询的邮箱地址
响应字段类型说明
dataobject最新一封邮件,包含上表所列邮件字段
data.contentstring完整邮件正文
meta.remaininginteger剩余收件额度,可用时返回
  1. 1curl "https://api.temporam.com/v3/emails/latest?email=demo%40temporam.com" \
  2. 2 -H "Authorization: Bearer YOUR_API_KEY"

查询邮件详情

GEThttps://api.temporam.com/v3/emails/{id}

参数位置类型必填说明
idpathstring (UUID)是邮件 UUID
响应字段类型说明
dataobject邮件详情,包含上表所列邮件字段
data.contentstring完整邮件正文
meta.remaininginteger剩余收件额度,可用时返回
  1. 1curl https://api.temporam.com/v3/emails/550e8400-e29b-41d4-a716-446655440000 \
  2. 2 -H "Authorization: Bearer YOUR_API_KEY"

读取未认领邮件或完整内容可能影响入站额度;自动化程序应先用列表接口筛选,再按需读取详情。