---
title: "Run action"
method: POST
path: "/crm/actions/{actionId}/runs"
tags: ["crm"]
---

# Run action

`POST /crm/actions/{actionId}/runs`

## Request

- Base URL: `https://www.dench.com/api/v1`
- URL: `https://www.dench.com/api/v1/crm/actions/{actionId}/runs`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Run a CRM action on one or more entries.

## Path parameters

- `actionId` string, required

## Request body

- object
  - `objectName` string, required
  - `fieldId` string, required
  - `entryIds` string[], required
  - `prompts` object

## Response `200`

Successful response

- object
  - `results` object[], required
    - `entryId` string, required
    - `status` 'success' | 'error', required
    - `operations` number
    - `error` string

## Other responses

- `400`: Invalid request
- `401`: Missing or invalid authentication
- `404`: Operation or resource not found
- `500`: Server error

---

[API](https://skmtc.dev/dench/apis/dench-api.md) - [All operations](https://skmtc.dev/dench/apis/dench-api/llms.txt) - [OpenAPI document](https://skmtc.dev/dench/apis/dench-api/revisions/4a145b38f19c?raw)
