---
title: "Custom Component"
method: POST
path: "/api/v1/custom_component"
tags: ["Base"]
---

# Custom Component

`POST /api/v1/custom_component`

## Request body

- CustomComponentRequest
  - `code` string, required
  - `frontend_node` object, nullable

## Response `200`

Successful Response

- CustomComponentResponse
  - `data` object, required
  - `type` string, required

## Other responses

- `422` — Validation Error

## Changes

- **2025-10-16** `9bd3e81318d7` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/langflow-ai/apis/langflow/changes/api/v1/custom_component/post.md)

---

[API](https://skmtc.dev/langflow-ai/apis/langflow.md) · [All operations](https://skmtc.dev/langflow-ai/apis/langflow/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/langflow-ai/langflow/revisions/9bd3e81318d7/schema)
