> ## Documentation Index
> Fetch the complete documentation index at: https://snowseo.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Create a Report

> Create a report from a name and an initial document.

Create a report from a name and an initial document. Body fields:

| Field | Description |
| - | - |
| `name` | Required. Report name (trimmed, must be non-empty) |
| `content` | Required. The initial report document |
| `templateSlug` | Optional slug of a template to associate. An unknown slug returns `400` |

Responds `201` with `{ report }` (full detail).


## OpenAPI

````yaml POST /v3/reports
openapi: 3.0.0
info:
  title: SnowSEO API
  description: API documentation for SnowSEO
  version: 1.0.0
servers:
  - url: https://api.snowseo.com
    description: Production server
security:
  - bearerAuth: []
  - apiKey: []
externalDocs:
  url: https://snowseo.com/docs
  description: Find more info here
paths:
  /v3/reports:
    post:
      tags:
        - Reports
      summary: Create a report
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - name
                - content
              properties:
                teamId:
                  type: string
                name:
                  type: string
                content:
                  type: object
                  additionalProperties: true
                  description: Report document with pages, theme and widgets.
                templateSlug:
                  type: string
                  nullable: true
      responses:
        '201':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                properties:
                  report:
                    type: object
                    additionalProperties: true
                    properties:
                      id:
                        type: string
                      name:
                        type: string
                      templateSlug:
                        type: string
                        nullable: true
                      content:
                        type: object
                        additionalProperties: true
                      createdAt:
                        type: string
                        format: date-time
                      updatedAt:
                        type: string
                        format: date-time
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Your SnowSEO API key (sk_...).
    apiKey:
      type: apiKey
      name: x-api-key
      in: header

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.