> For the complete documentation index, see [llms.txt](https://docs.r4nkt.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.r4nkt.com/api/actions.md).

# Actions

## Create an action

<mark style="color:green;">`POST`</mark> `/v1/games/:game_id/actions`

#### Request Body

| Name         | Type   | Description |
| ------------ | ------ | ----------- |
| custom\_id   | string |             |
| name         | string |             |
| description  | string |             |
| custom\_data | string |             |
| reactions    | array  |             |

{% tabs %}
{% tab title="200 " %}

```
```

{% endtab %}
{% endtabs %}

## Retrieve an action

<mark style="color:blue;">`GET`</mark> `/v1/games/:game_id/actions/:id`

#### Path Parameters

| Name | Type   | Description |
| ---- | ------ | ----------- |
|      | string |             |

{% tabs %}
{% tab title="200 " %}

```
```

{% endtab %}
{% endtabs %}

## Update an action

<mark style="color:orange;">`PUT`</mark> `/v1/games/:game_id/actions/:id`

#### Path Parameters

| Name | Type   | Description |
| ---- | ------ | ----------- |
|      | string |             |

{% tabs %}
{% tab title="200 " %}

```
```

{% endtab %}
{% endtabs %}

## Delete an action

<mark style="color:red;">`DELETE`</mark> `/v1/games/:game_id/actions/:id`

#### Path Parameters

| Name | Type   | Description |
| ---- | ------ | ----------- |
|      | string |             |

{% tabs %}
{% tab title="200 " %}

```
```

{% endtab %}
{% endtabs %}

## List all actions

<mark style="color:blue;">`GET`</mark> `/v1/games/:game_id/actions`

#### Path Parameters

| Name | Type   | Description |
| ---- | ------ | ----------- |
|      | string |             |

{% tabs %}
{% tab title="200 " %}

```
```

{% endtab %}
{% endtabs %}
