---
title: "Initialize Dependency Tables"
method: POST
path: "/api/new_mdm/initialize_dependency_tables"
tags: ["MDM NEW"]
---

# Initialize Dependency Tables

`POST /api/new_mdm/initialize_dependency_tables`

**Function**: `initialize_dependency_tables`
**Type**: API Endpoint (POST)

**Purpose**:  
Initializes dependency tables in the customer database based on the provided application code.

**URL**:  
`POST /api/new_mdm/initialize_dependency_tables`

**Request Headers**:
- `Customer-Key` (str, required): A base64-encoded string identifying the customer and database.
- `App-Code` (str, required): A base64-encoded string identifying the application.

**Request Body**: None

**Response**:
A JSON object containing a status message and details of the dependency table creation.

**Status Codes**:
- 200: Success
- 500: Failed to initialize dependency tables

## Headers

- `Customer-Key` string, required
- `App-Code` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/leapsurgebi/apis/leapsurgeapi.md) · [All operations](https://skmtc.dev/leapsurgebi/apis/leapsurgeapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/leapsurgebi/leapsurgeapi/revisions/5a6b1464bfeb/schema)
