Download document translation result

Prev Next

Available in Classic and VPC

Download the translated document file. Redownloads are available within 7 days of translation completion.

Request

This section describes the request format. The method and URI are as follows:

Method URI
GET /download

Request headers

For information about the headers common to all Papago Translation APIs, see Papago Translation request headers.

Request query parameters

You can use the following query parameters with your request:

Field Type Required Description
requestId String Required ID issued with the translation request (Request ID)
  • Unique identification value for each document translation request

Request example

The request example is as follows:

curl --location --request GET 'https://papago.apigw.ntruss.com/doc-trans/v1/download?requestId={requestId}' \
--header 'X-NCP-APIGW-API-KEY-ID: {Client ID issued when registering the app}' \
--header 'X-NCP-APIGW-API-KEY: {Client secret issued when registering the app}'

Response

This section describes the response format.

Response body

The response body includes the following data:

Field Type Required Description
File File - Translated document file in attachment format

Response status codes

For information about the HTTP status codes common to all Papago Translation APIs, see Papago Translation response status codes.

Response example

On a successful call, a translated document file in attachment format is downloaded.