---
updatedAt: 2026-05-21T09:47:23.000Z
agentTools:
  projectIndex: https://docs.damoov.com/llms.txt
---

# Driver logbook

This service enables the request and delivery of a driver logbook via email. Users have the option to utilize the standard email template provided by Damoov, which will be sent under Damoov's.

## Introduction

### Email Functionality

This service enables the request and delivery of a driver logbook via email. Users have the option to utilize the standard email template provided by Damoov, which will be sent under Damoov's branding, or to integrate their own email service by linking their SendGrid credentials.

### Email Sender Configuration

* Default Damoov Account: If no SendGrid account is specified, the email will be sent from the default Damoov account. In this case, emails will be dispatched from Damoov Support at <info@damoov.com>.
* Custom SendGrid Integration: Users who activate their SendGrid account through the Damoov marketplace have the option to customize this setting, allowing for emails to be sent from their specified account.

### Subject and Content

* If the subject is not provided, the email will be sent with a default subject line. [Default email templates](https://docs.damoov.com/reference/default-email-templates)
* If `content` is not provided, the email will contain a default message. [Default email templates](https://docs.damoov.com/reference/default-email-templates)

## Parameters

* `to_email` (required): The email address where the logbook will be sent.
* `subject` (optional): The subject of the email.
* `content` (optional): The content of the email.
* `start_date` (required): The start date of the report in YYYY-MM-DD format.
  * If the `start_date` is not specified, the default value is automatically set to the first day of the current month.
* `end_date` (required): The end date of the report in YYYY-MM-DD format.
  * If the end\_date is not provided, today's date will be set as the default value
* `units` (default="Si"): The units for distance measurement, either "Imperial" or "Si".
* `date_format` (dafult = "standard" ): The date format, either "us" or "standard".
  * us - mm/dd/yyyy
  * standard - yyyy/mm/dd
* `type_of_report` (required): An integer representing the type of report.
  * type\_of\_report= 1 - Driver trip log by trips
  * type\_of\_report= 2 - Driver trip log by trips
  * type\_of\_report= 3 - Graduated Driver Licensing
* `format_of_report` (required): The format of the report, e.g., "csv".

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "additional-services",
    "version": "1.1-backup"
  },
  "servers": [
    {
      "url": "https://extras.telematicssdk.com"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "oauth2",
        "flows": {
          "clientCredentials": {
            "tokenUrl": "https://example.com/oauth2/token",
            "scopes": {}
          }
        }
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/reporting/generate_driver_logbook": {
      "post": {
        "summary": "Driver logbook",
        "description": "This service enables the request and delivery of a driver logbook via email. Users have the option to utilize the standard email template provided by Damoov, which will be sent under Damoov's.",
        "operationId": "driver-logbook",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "RAW_BODY": {
                    "type": "string",
                    "default": "{\"to_email\": \"\", \"subject\": \"\", \"content\": \"\",     \"start_date\": \"2024-01-01\",     \"end_date\": \"2024-02-11\",     \"units\": \"Imperial\",     \"date_format\":\"us\",     \"type_of_report\": 1,     \"format_of_report\": \"csv\"}",
                    "format": "json"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"message\": \"Logbook generation started\",\n    \"status\": \"success\"\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string",
                      "example": "Logbook generation started"
                    },
                    "status": {
                      "type": "string",
                      "example": "success"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```