---
title: "Get fields for an action"
method: POST
path: "/orgs/connections/actions/fields"
tags: ["Connections"]
---

# Get fields for an action

`POST /orgs/connections/actions/fields`

## Request

- Base URL: `https://api.useinvent.com`
- URL: `https://api.useinvent.com/orgs/connections/actions/fields`
- Auth: HTTP bearer

Returns the input field schema for a connection action, so your integration can dynamically render the form used to configure that action.

## Query parameters

- `lang` string: Language code for translated labels

## Request body

- ConnectionActionInterfaceSchema: The interface of a connection action
  - `action_id` string, required
  - `connection_id` string
  - `input` object: Values of the fields
  - `resource_id` string
  - `definitions` DynamicFieldsSchema[]
    - `path` string, required
    - `definition` FieldsSchema, required: The definition of the field schemas

## Response `200`

- FieldsSchema: The definition of the field schemas

---

[API](https://skmtc.dev/useinvent/apis/invent-api.md) · [All operations](https://skmtc.dev/useinvent/apis/invent-api/llms.txt) · [OpenAPI document](https://skmtc.dev/useinvent/apis/invent-api/revisions/98824f3fde82?raw)
