---
title: "POST /api/v1/Exports/generate-license-report"
method: POST
path: "/api/v1/Exports/generate-license-report"
tags: ["Exports"]
---

# POST /api/v1/Exports/generate-license-report

`POST /api/v1/Exports/generate-license-report`

## Request

- Base URL: `https://api.crayon.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.crayon.com/api/v1/Exports/generate-license-report`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/crayon/apis/crayon-group-customer-api/docs/api/v1/Exports/generate-license-report/post.ts> (a function with typed inputs; its response is checked against the schema)

## Request body

- LicenseBasedReportRequest
  - `invoiceProfileId` integer, nullable
  - `customerAccountId` integer
  - `timeRange` TimeRange
    - `from` string, date-time
    - `to` string, date-time
  - `cloudAccountId` integer, nullable
  - `includeOnlyActiveSubscriptions` boolean, nullable

## Response `200`

Success

---

[API](https://skmtc.dev/crayon/apis/crayon-group-customer-api.md) - [All operations](https://skmtc.dev/crayon/apis/crayon-group-customer-api/llms.txt) - [OpenAPI document](https://skmtc.dev/crayon/apis/crayon-group-customer-api/revisions/55939d9eb11f?raw)
