メインコンテンツへスキップ
GET
/
docgen_templates
/
{template_id}
cURL
curl -L 'https://api.box.com/2.0/docgen_templates/12345678' \
     -H 'box-version: 2025.0' \
     -H 'Authorization: Bearer <ACCESS_TOKEN>'
{
  "file": {
    "type": "file",
    "id": "42037322"
  },
  "file_name": "Official contract"
}
Box SDKのバージョニング戦略について詳しく学ぶ。」

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

box-version
enum<string>
required

Version header.

利用可能なオプション:
2025.0

Path Parameters

template_id
string
required

Box Doc GenテンプレートのID。

Response

テンプレートを返します。

Box Doc Genテンプレートオブジェクト。 他のリソース内にネストされたときに使用されるBox Doc GenテンプレートのBase版の表示。

file
ファイルの参照 · object

ドキュメントの生成元となるファイルを有効にします。

file_name
string | null

テンプレートの名前。

Example:

"Official contract"