--- title: "exportTemplate" slug: "ai-application-service-cloudoutboundmailer-exporttemplate" updated: 2026-09-17T09:57:24Z published: 2026-09-17T09:57:24Z canonical: "api.ncloud-docs.com/ai-application-service-cloudoutboundmailer-exporttemplate" --- > ## Documentation Index > Fetch the complete documentation index at: https://api.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # exportTemplate Classic/VPC環境で利用できます。 [createTemplateExportRequest](/docs/ja/ai-application-service-cloudoutboundmailer-createtemplateexportrequest) APIを通じて作成したメールテンプレートのバックアップファイルをダウンロードします。 ## リクエスト リクエスト形式を説明します。リクエスト形式は次の通りです。 | メソッド | URI | | --- | --- | | GET | /template/export/{requestId} | ### リクエストヘッダ Cloud Outbound Mailer APIで共通して使用されるヘッダの詳細は、[Cloud Outbound Mailerのリクエストヘッダ](/docs/ja/ai-application-service-cloudoutboundmailer#%EC%9A%94%EC%B2%AD%ED%97%A4%EB%8D%94)をご参照ください。 ### リクエストパスパラメータ リクエストパスパラメータの説明は次の通りです。 | フィールド | タイプ | 必須の有無 | 説明 | | --- | --- | --- | --- | | `requestId` | Integer | Required | バックアップファイル作成のリクエスト SID - [createTemplateExportRequest](/docs/ja/ai-application-service-cloudoutboundmailer-createtemplateexportrequest)を参照 | ### リクエスト例 リクエストのサンプルコードは次の通りです。 ``` curl --location --request GET 'https://mail.apigw.ntruss.com/api/v1/template/export/11' \ --header 'x-ncp-apigw-timestamp: {Timestamp}' \ --header 'x-ncp-iam-access-key: {Access Key}' \ --header 'x-ncp-apigw-signature-v2: {API Gateway Signature}' ``` ## レスポンス レスポンス形式を説明します。 ### レスポンスステータスコード Cloud Outbound Mailer APIで共通して使用されるレスポンスステータスコードの詳細は、[Cloud Outbound Mailerのレスポンスステータスコード](/docs/ja/ai-application-service-cloudoutboundmailer#%EC%9D%91%EB%8B%B5%EC%83%81%ED%83%9C%EC%BD%94%EB%93%9C)をご参照ください。 ### レスポンス例 レスポンスのサンプルコードは次の通りです。 ``` Content-Type: application/octet-stream;charset=UTF-8 Content-Length: 180 Connection: keep-alive Content-Disposition: attachment; filename="template_20200513180659.json"; Content-Transfer-Encoding: binary ```