> For the complete documentation index, see [llms.txt](https://cloudblast.gitbook.io/cloudblast-api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cloudblast.gitbook.io/cloudblast-api/api-endpoints/send-action-server.md).

# /send-action-server

## Execute a server action&#x20;

<mark style="color:green;">`POST`</mark>[`https://console.cloudblast.io/api/public/send-action-server`](http://cloudblast.local/api/public/send-action-server)

This endpoint allows clients to send commands to a server to perform actions such as starting, stopping, or rebooting the server.&#x20;

**Body**

| Name        | Type   | Description                              |
| ----------- | ------ | ---------------------------------------- |
| `authKey`   | string | Your API key                             |
| `server_id` | int    | ID of your server                        |
| `action`    | string | start/reboot/reset/shutdown/kill/suspend |

**Response**

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

```json
{
  "result": true,
  "message": "Server start action initiated successfully."
}
```

{% endtab %}

{% tab title="500" %}

```json
{
  "result": false,
  "error": "Failed to initiate server start action."
}
```

{% endtab %}
{% endtabs %}
