---
title: "Register Doc"
method: POST
path: "/api/v1/gm/doc-registry"
tags: ["gm", "gm"]
---

# Register Doc

`POST /api/v1/gm/doc-registry`

## Request

- Base URL: `https://app.goodleads.club` (the document declares no server; this is the origin it was published from)
- URL: `https://app.goodleads.club/api/v1/gm/doc-registry`
- Auth: none declared

Register a Google Doc ID. Upserts by doc_path.

## Request body

- DocRegistryCreate
  - `doc_path` string, required
  - `google_doc_id` string, required
  - `state` string, nullable
  - `doc_type` string
  - `session_id` string, nullable

## Response `201`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/goodleads/apis/formation-gtm-api.md) · [All operations](https://skmtc.dev/goodleads/apis/formation-gtm-api/llms.txt) · [OpenAPI document](https://skmtc.dev/goodleads/apis/formation-gtm-api/revisions/2068d13a82cf?raw)
