> ## Documentation Index
> Fetch the complete documentation index at: https://cobalt-55-abhishek.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Action Schema

> Get the parameter schema for an application action.

Return the parameter schema for a specific action. Use it to know which fields to send when you [execute the action](/v3/api-reference/applications/execute-action) — including which are required.

## Authentication

<ParamField header="x-api-key" type="string" required>
  Your Refold API key. Find it in **Settings → Credentials**.
</ParamField>

<ParamField header="linked_account_id" type="string" required>
  The linked account whose connection to use.
</ParamField>

## Path Parameters

<ParamField path="slug" type="string" required>The application slug. **Example:** `hubspot`</ParamField>
<ParamField path="action_id" type="string" required>The action ID (from [List Actions](/v3/api-reference/applications/get-actions)). **Example:** `search_contacts`</ParamField>

## Response

<Tabs>
  <Tab title="200 OK">
    Returns an array of parameter definitions.
    <ResponseField name="name" type="string">Parameter key to send when executing.</ResponseField>
    <ResponseField name="label" type="string">Display label.</ResponseField>
    <ResponseField name="required" type="boolean">Whether the parameter is required.</ResponseField>
    <ResponseField name="type" type="string">Input type, e.g. `text`.</ResponseField>
  </Tab>

  <Tab title="404 Not Found">
    <ResponseField name="status_code" type="integer">HTTP status code.</ResponseField>
    <ResponseField name="http_error_type" type="string">Error category.</ResponseField>
    <ResponseField name="error_code" type="string">Internal error code.</ResponseField>
    <ResponseField name="message" type="string">Human-readable error description.</ResponseField>
  </Tab>
</Tabs>

<ResponseExample>
  ```json 200 theme={null}
  [
    { "name": "propertyName", "label": "Enter property name", "required": true, "type": "text" },
    { "name": "operator", "label": "Enter operator", "required": true, "type": "text" },
    { "name": "value", "label": "Enter value", "required": true, "type": "text" },
    { "name": "query", "label": "Enter Query", "required": false, "type": "text" },
    { "name": "limit", "label": "Enter Limit", "required": false, "type": "text" }
  ]
  ```

  ```json 404 theme={null}
  {
    "status_code": 404,
    "http_error_type": "NOT_FOUND",
    "error_code": "SERVER_ERROR",
    "message": "Action no_such_action not found in Application hubspot"
  }
  ```
</ResponseExample>

<RequestExample>
  ```bash cURL theme={null}
  curl -X GET "https://app.refold.ai/api/v2/integration-schema/{slug}/actions/{action_id}" \
    -H "x-api-key: YOUR_API_KEY" \
    -H "linked_account_id: YOUR_LINKED_ACCOUNT_ID"
  ```
</RequestExample>
