download (번역된 문서 다운로드)

Prev Next

개요

  • 번역 완료된 파일 다운로드 API (GET)
  • 번역 완료 후 7일 이내 재다운로드 가능

Header

Name Description
X-NCP-APIGW-API-KEY-ID NCP 앱 등록 시 발급받은 Client ID
X-NCP-APIGW-API-KEY NCP 앱 등록 시 발급받은 Secret Key

Parameter

Name Type Required Description
requestId String true Translate API 요청 시 발급받은 Request ID

Response

정상 응답의 경우, attachment 형식의 번역 바이너리 리턴

Response Header

  • Content-Type: application/octet-stream or etc..
  • Content-disposition: attachment; filename=원본 파일명

오류 코드

{
  "error": {
    "errorCode": "25003",
    "message": "requestId is invalid"
  }
}
HTTP Status Code Code Message Description
401 25003 requestId is invalid 유효하지 않은 request ID로 요청한 경우

CURL Example

$ curl -X GET 'https://papago.apigw.gov-ntruss.com/doc-trans/v1/download?requestId=20201007_2522985202669'