> For the complete documentation index, see [llms.txt](https://anunzi-ai.gitbook.io/anunzi-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://anunzi-ai.gitbook.io/anunzi-docs/api-widgets/trabajar-con-la-api-de-llamadas/actions/get-action.md).

# Obtener acción

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

Retrieve details of a specific custom action in your Anunzi environment.

***

#### **Path Parameters**

| Parameter   | Type   | Required | Description                              |
| ----------- | ------ | -------- | ---------------------------------------- |
| `action_id` | string | Yes      | The unique ID of the action to retrieve. |

***

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

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

***

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

```json
{
  "status": "ok",
  "response": {
    "actions": [
      {
        "action_id": "1725911493083x249395485329627420",
        "action_type": "SEND_SMS",
        "name": "send_sms",
        "description": "If the user has confirmed interest in scheduling a demo meeting",
        "parameters_hard_coded": {
          "sms_message_text": "Hello!"
        }
      }
    ]
  }
}
```

***

#### **Response Fields**

| Field                   | Type   | Description                                                              |
| ----------------------- | ------ | ------------------------------------------------------------------------ |
| `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  | Action details retrieved successfully.      |
| 400  | Bad Request. Invalid or missing parameters. |
