---
title: "POST /api/v1/contracts/{contractId}/actions"
method: POST
path: "/api/v1/contracts/{contractId}/actions"
tags: ["Contracts"]
---

# POST /api/v1/contracts/{contractId}/actions

`POST /api/v1/contracts/{contractId}/actions`

Executes an action for the specified smart contract instance and action ID. Users are only able to execute
             the action given the current state of the specified smart contract instance and the user's associated application role
             or smart contract instance role.

## Path parameters

- `contractId` integer, required

## Request body

- WorkflowActionInput
  - `workflowFunctionID` integer
  - `workflowActionParameters` ContractActionParameter[]
    - `name` string
    - `value` string

## Response `200`

OK

## Other responses

- `204` — No Content

---

[API](https://skmtc.net/azure/apis/azure-blockchain-workbench-rest-api.md) · [All operations](https://skmtc.net/azure/apis/azure-blockchain-workbench-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/azure-blockchain-workbench-rest-api/versions/87f9d32cbefd/schema)
