---
title: "Update a specific predefined action"
description: "PUT /predefined_actions/{predefined_action_id} — Updates a predefined action template's text (max 140 characters), days offset or position — but not its group membership, which is silently ignored if you send action_group_id."
canonical_url: https://developer.onepagecrm.com/api/reference/predefined-actions/put-predefined_actions-predefined_action_id/
source: Markdown mirror of https://developer.onepagecrm.com/api/reference/predefined-actions/put-predefined_actions-predefined_action_id/
---

`PUT /predefined_actions/{predefined_action_id}`

Updates a predefined action template's text (max 140 characters), days offset or position — but not its group membership, which is silently ignored if you send action_group_id. Use the groups endpoint to move an action between groups.

Resource: [Predefined Actions](https://developer.onepagecrm.com/api/reference/predefined-actions/) · [API Reference](https://developer.onepagecrm.com/api/reference/)

## Request

```bash
curl -X PUT "https://app.onepagecrm.com/api/v3/predefined_actions/{predefined_action_id}" \
  -u $user_id:$api_key \
  -H "Content-Type: application/json" \
  -d '{
    "id": "5acddaa7d556733c507ff405",
    "text": "#1 Email [firstname] introducing our organization",
    "days": 4
  }'
```

Authentication is HTTP Basic — `user_id` as username, `api_key` as password.
See https://developer.onepagecrm.com/api/authentication/.

## Path parameters

| Name | Type | Description |
| --- | --- | --- |
| `predefined_action_id` | string | Predefined Action ID |

## Request body

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string (bson-id) |  | ID of the predefined action |
| `text` | string | yes | Description text of the predefined action |
| `days` | integer (int32) | yes | Suggested number of days until the action becomes due |

## Responses

### 200

OK

```json
{
  "status": 0,
  "message": "OK",
  "timestamp": 1528373119,
  "data": {
    "predefined_action": {
      "id": "5acddaa7d556733c507ff405",
      "text": "#1 Email [firstname] introducing our organization",
      "days": 4
    }
  }
}
```

Standard error responses: 400, 401, 403, 404, 409, 500 — shared across the API. See https://developer.onepagecrm.com/api/errors/.

## Related guides

- [Authentication](https://developer.onepagecrm.com/api/authentication/)
- [Errors](https://developer.onepagecrm.com/api/errors/)
- [Rate limits](https://developer.onepagecrm.com/api/rate-limits/)
- [Partial updates](https://developer.onepagecrm.com/api/partial-updates/)
