---
title: "Initialize a custom action"
method: POST
path: "/actions/initialize"
---

# Initialize a custom action

`POST /actions/initialize`

## Headers

- `Authorization` string, required

## Request body

- object
  - `action_id` string, required — The action id that will be initialized
  - `variables` ActionsInitializePostRequestBodyContentApplicationJsonSchemaVariablesItems[]
    - `key` string, required — Key name
    - `value` string, required — Value that will be assigned to the key

## Response `200`

200

- InitializeActionResponse200
  - `status` string
  - `response` ActionsInitializePostResponsesContentApplicationJsonSchemaResponse
    - `answer` string

## Other responses

- `400` — 400

---

[API](https://skmtc.dev/synthflow/apis/platform-api.md) · [All operations](https://skmtc.dev/synthflow/apis/platform-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/synthflow/platform-api/revisions/6976456ad422/schema)
