{"info":{"name":"RapidTranslate API（v1）","_postman_id":"rt-api-v1-0000-0000-0000-000000000001","description":"Official Postman collection for the RapidTranslate certified-translation API.\n\nPlace and track orders, list languages and pricing, and approve orders programmatically.\n\n## Getting started\n1. Import this collection into Postman (File → Import).\n2. Open the collection variables and set **apiKey** to a key generated in *Business Settings → API Keys*.\n3. (Optional) Point **baseUrl** at your environment. It defaults to production.\n\nEvery request already sends `Authorization: Bearer {{apiKey}}` and `Accept: application/json`.\n\nUse a **Sandbox** key to run against the fully simulated environment (no billing, no fulfillment). Responses and webhooks carry a `livemode` flag so you can tell the two apart.\n\nFull documentation: https://www.rapidtranslate.org/developers","schema":"https://schema.getpostman.com/json/collection/v2.1.0/collection.json"},"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{apiKey}}","type":"string"}]},"variable":[{"key":"baseUrl","value":"https://www.rapidtranslate.org/api/v1","type":"string","description":"API 的基准 URL。如有需要，可按环境进行覆盖。"},{"key":"apiKey","value":"YOUR_API_KEY","type":"string","description":"在“业务设置”→“API密钥”中获取您的私有API密钥。测试模式下请使用沙箱密钥。"},{"key":"orderId","value":"","type":"string","description":"翻译订单的 UUID（由“创建订单”方法返回的 `id`）。用于“检索”和“批准”操作。"}],"item":[{"name":"参考数据","description":"请阅读语言列表和报价表。这些数值将作为您创建订单时提交的字段数据。","item":[{"name":"列出语言","request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{baseUrl}}/languages","host":["{{baseUrl}}"],"path":["languages"]},"description":"返回所有受支持的语言。在创建订单时，请将 `name` 的值原样用作 `source_language` / `target_language` —— 订单是根据语言名称进行匹配的，而非语言代码。\n\n需要经过身份验证的密钥。"},"response":[]},{"name":"获取价格表","request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{baseUrl}}/prices","host":["{{baseUrl}}"],"path":["prices"]},"description":"返回用于计算订单费用的美国基准价目表（单位为美元）。金额以十进制字符串形式显示。价格按`翻译`类型（每种类型均包含`常规`和`加急`两种每`单位`价格）、`交付`方式以及`海牙认证`进行分组。\n\n宣誓翻译按语言对计价——请参阅`language_pairs`代码块。\n\n范围：`price:read`"},"response":[]}]},{"name":"订单","description":"创建、检索、列出和审批翻译订单。","item":[{"name":"创建订单","request":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"body":{"mode":"formdata","formdata":[{"key":"reference","value":"APO-10432","type":"text","description":"您专属的订单编号。重复使用该编号将返回现有订单（幂等）。"},{"key":"customer[name]","value":"Jane Doe","type":"text","description":"最终客户的全名。"},{"key":"customer[email]","value":"jane@example.com","type":"text","description":"最终客户的电子邮件。"},{"key":"source_language","value":"Spanish","type":"text","description":"来自“语言列表”中的确切语言名称。"},{"key":"target_language","value":"English (US)","type":"text","description":"来自“语言列表”中的确切语言名称。"},{"key":"translation_type","value":"certified","type":"text","description":"经认证的、标准的、专业的、宣誓的、NAATI认证的。"},{"key":"turnaround","value":"regular","type":"text","description":"常规或快速。"},{"key":"delivery[method]","value":"email","type":"text","description":"电子邮件、经公证的电子邮件、标准邮件、次日达邮件。"},{"key":"delivery[address][street]","value":"","type":"text","description":"mail_standard / mail_next_day 服务必须提供此项。","disabled":true},{"key":"delivery[address][city]","value":"","type":"text","disabled":true},{"key":"delivery[address][state]","value":"","type":"text","description":"可选。","disabled":true},{"key":"delivery[address][postal_code]","value":"","type":"text","disabled":true},{"key":"delivery[address][country]","value":"US","type":"text","description":"ISO国家代码，例如 US。","disabled":true},{"key":"apostille[enabled]","value":"false","type":"text","description":"添加海牙认证办理服务（目标语言必须为英语；需使用mail_standard）。","disabled":true},{"key":"apostille[documents]","value":"1","type":"text","description":"需办理海牙认证的文件数量。启用该功能时需填写。","disabled":true},{"key":"apostille[destination_country]","value":"","type":"text","description":"该海牙认证的适用国家。","disabled":true},{"key":"notes","value":"","type":"text","description":"自由格式说明。","disabled":true},{"key":"coupon_code","value":"","type":"text","description":"一个可使用的优惠码。","disabled":true},{"key":"files[]","type":"file","src":[],"description":"1–20 个文件。支持格式：pdf、jpg、jpeg、png、doc、docx、tiff、heic。每个文件最大 20 MB。"}]},"url":{"raw":"{{baseUrl}}/orders","host":["{{baseUrl}}"],"path":["orders"]},"description":"创建一个翻译订单并上传源文件。由于需要传输文件，因此使用 `multipart/form-data` 格式。嵌套字段使用方括号表示法，例如 `customer[name]`。\n\n在 `files[]` 键下至少附加一个文件（在“值”列中选择一个文件）。\n\n新创建的订单在计算价格期间状态为 `pending`，总金额为 `null`。可通过轮询获取订单，或监听 `order_status` Webhook 以查看价格更新。\n\n幂等性：使用相同的 `reference` 重复执行创建操作时，系统会返回现有订单并返回 200 状态码，而非创建重复订单（新建订单返回 201 状态码）。\n\n作用域：`orders:write`"},"response":[]},{"name":"查询订单","request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{baseUrl}}/orders/{{orderId}}","host":["{{baseUrl}}"],"path":["orders","{{orderId}}"]},"description":"根据 `id`（创建时返回的 UUID）检索单个订单。请先设置 `orderId` 集合变量。如果该订单不属于您的组织，则返回 404 not_found 状态码。\n\n作用域：`orders:read`"},"response":[]},{"name":"列出订单","request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{baseUrl}}/orders?status=completed&per_page=50","host":["{{baseUrl}}"],"path":["orders"],"query":[{"key":"status","value":"completed","description":"“待处理”、“待审批”、“处理中”、“已完成”或“已取消”之一。"},{"key":"per_page","value":"50","description":"1–100。默认采用标准页面尺寸。"},{"key":"reference","value":"","description":"按您的参考编号筛选。","disabled":true},{"key":"source_language","value":"","description":"按语言名称筛选。","disabled":true},{"key":"target_language","value":"","description":"按语言名称筛选。","disabled":true},{"key":"created_from","value":"","description":"日期范围起始日（含该日）。","disabled":true},{"key":"created_to","value":"","description":"日期范围结束（含该日）。","disabled":true},{"key":"sort","value":"-created_at","description":"-created_at（默认，按时间倒序排列）或 created_at（按时间正序排列）。","disabled":true},{"key":"page","value":"1","description":"页码。","disabled":true}]},"description":"返回您组织的订单，按时间倒序排列（最新在前），分页信息存储在 `meta` 中。所有查询参数均为可选。\n\n作用域：`orders:read`"},"response":[]},{"name":"批准一项订单","request":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{baseUrl}}/orders/{{orderId}}/approve","host":["{{baseUrl}}"],"path":["orders","{{orderId}}","approve"]},"description":"批准状态为 `awaiting_approval` 的订单的计算总额，使其进入履约流程。仅当您的账户在开始工作前需要审批时才需要此操作。该调用具有幂等性。\n\n如果订单未处于“等待审批”状态，将返回 409 not_awaiting_approval 状态码；如果需要扣款但扣款失败，将返回 402 payment_failed 或 402 credit_hold 状态码。\n\n作用域：`orders:write`"},"response":[]}]}]}