Box Developer Documentation
 
    Latest version

    List Box Doc Gen templates

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

    Lists Box Doc Gen templates on which the user is a collaborator.

    Request

    bearer [ACCESS_TOKEN]
    application/json

    Request Headers

    stringin headerrequired

    Version header

    Value is always 2025.0

    Query Parameters

    integer (int64)in queryoptional
    1000
    1000

    The maximum number of items to return per page.

    stringin queryoptional
    JV9IRGZmieiBasejOG9yDCRNgd2ymoZIbjsxbJMjIs3kioVii

    Defines the position marker at which to begin returning results. This is used when paginating using marker-based pagination.

    This requires usemarker to be set to true.

    Response

    application/jsonBox Doc Gen templates

    Returns a collection of templates.

    application/jsonClient error

    Returned if the user has passed in a malformed marker or limit value.

    application/jsonClient error

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

    application/jsonClient error

    An unexpected client error.

    get
    List Box Doc Gen templates
    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' \
         -H 'box-version: 2025.0' \
         -H 'Authorization: Bearer <ACCESS_TOKEN>'

    Response Example

    {
      "entries": [
        {
          "file": {
            "id": "42037322",
            "type": "file"
          },
          "file_name": "Official contract"
        }
      ],
      "limit": 1000,
      "next_marker": "JV9IRGZmieiBasejOG9yDCRNgd2ymoZIbjsxbJMjIs3kioVii",
      "prev_marker": "JV9IRGZmieiBasejOG9yDCRNgd2ymoZIbjsxbJMjIs3kioVih"
    }