# Listar acciones

**GET**\
`https://api.anunzi.net/v2/actions`

Retrieve a paginated list of all available actions configured in your Anunzi environment.

***

#### **Query Parameters**

| Parameter | Type  | Required | Description                                           |
| --------- | ----- | -------- | ----------------------------------------------------- |
| `limit`   | int32 | No       | Number of actions displayed per page (default: `20`). |
| `offset`  | int32 | No       | Starting point for listing actions (default: `0`).    |

***

#### **Example Request (cURL)**

```bash
curl --request GET \
     --url https://api.anunzi.net/v2/actions \
     --header 'accept: application/json' \
     --header 'Authorization: Bearer API_KEY'
```

***

#### **Example Response (200 OK)**

```json
{
    "status": "ok",
    "response": {
        "pagination": {
            "total_records": 103,
            "limit": 20,
            "offset": 0
        },
        "actions": [
            {
                "action_id": "1722936793779x397329270058999800",
                "action_type": "SEND_SMS",
                "name": "send_sms",
                "description": "If user wants to have a meeting next week.",
                "parameters_hard_coded": {
                    "sms_message_text": "Hello, thanks for your interest in a demo meeting. You can book your session here: Booking Link"
                }
            },
            {
                "action_id": "1722936881007x6148720204197584900",
                "action_type": "INFORMATION_EXTRACTOR",
                "name": "",
                "description": "",
                "parameters_hard_coded": {
                    "type": "",
                    "identifier": "",
                    "condition": "",
                    "choices": [],
                    "examples": []
                }
            }
        ]
    }
}
```

***

#### **Response Fields**

| Field                   | Type   | Description                                                              |
| ----------------------- | ------ | ------------------------------------------------------------------------ |
| `total_records`         | int32  | Total number of actions available.                                       |
| `limit`                 | int32  | Number of actions displayed per page.                                    |
| `offset`                | int32  | Starting point of the records returned.                                  |
| `action_id`             | string | Unique identifier for the action.                                        |
| `action_type`           | string | Type of action (e.g., `SEND_SMS`, `LIVE_TRANSFER`, `REAL_TIME_BOOKING`). |
| `name`                  | string | Name of the action.                                                      |
| `description`           | string | Description of what the action is expected to do.                        |
| `parameters_hard_coded` | object | Key-value pairs containing predefined parameters for the action.         |

***

#### **Status Codes**

| Code | Description                                 |
| ---- | ------------------------------------------- |
| 200  | Actions retrieved successfully.             |
| 400  | Bad Request. Invalid or missing parameters. |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.anunzi.net/api-widgets/trabajar-con-la-api-de-llamadas/actions/list-actions.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
