Box Developer Documentation
 
    Latest version

    Get Box Doc Gen template by ID

    get
    https://api.box.com/2.0
    /docgen_templates/:template_id

    Lists details of a specific Box Doc Gen template.

    Request

    bearer [ACCESS_TOKEN]
    application/json

    Request Headers

    stringin headerrequired

    Version header

    Value is always 2025.0

    Path Parameters

    stringin pathrequired
    123

    The ID of a Box Doc Gen template.

    Response

    application/jsonBox Doc Gen template

    Returns a template.

    application/jsonClient error

    Returned when the access token provided in the Authorization header is not recognized or not provided.

    application/jsonClient error

    Returned if the template is not found or the user does not have access to the associated template.

    application/jsonClient error

    An unexpected client error.

    get
    Get Box Doc Gen template by ID
    You can now try out some of our APIs live, right here in the documentation.
    Log in

    Request Example

    cURL
    curl -L 'https://api.box.com/2.0/docgen_templates/12345678' \
         -H 'box-version: 2025.0' \
         -H 'Authorization: Bearer <ACCESS_TOKEN>'

    Response Example

    {
      "file": {
        "id": "42037322",
        "type": "file"
      },
      "file_name": "Official contract"
    }