# POST /services/{name}/start

First published 14 Oct 2026 (release 0.2.0) · Unchanged since publication

UrbeStack release 0.2.35 API operation in the services group.

Start a daemon

- Who may call it: administrator
- Token scope, any of: settings, all
- Answers: 200 OK

UrbeStack starts the daemon immediately. If the daemon is disabled, UrbeStack first enables it to start at boot and resumes monitoring.

The operation waits for the daemon to pass its health check, up to the number of seconds set by wait. The default is 30 seconds.

Invalid name syntax or a request to start an absent or already running daemon returns HTTP 400.

## Parameters

- `name` (path, string, matching ^[a-z][a-z0-9.-]{0,39}$, required): UrbeStack daemon name returned by GET /services, such as postfix, php-8.3, panel-web, or mariadb.

## Request body

JSON, the type [ServiceControlRequest](https://urbestack.com/docs/api/types/ServiceControlRequest.md).

- `wait` (integer, 1 to 120): Time to wait for the daemon to respond during startup.

## Example

Set $API to the base URL and $TOKEN to the token, as the [API overview](https://urbestack.com/docs/api.md) shows.

```
curl -sS -X POST "$API/services/alice/start" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "wait": 1
  }'
```

Response, 200 OK:

```
{
  "action": "text",
  "daemon": {
    "at_boot": true,
    "check": {
      "ok": true,
      "words": "text"
    },
    "checked_by": "text",
    "cuts": "text",
    "depth": "answer",
    "falls_30d": 1,
    "group": "Panel",
    "guard": 1,
    "has_log": true,
    "installed": true,
    "last_check_at": "text",
    "last_check_words": "text",
    "last_restart_at": "text",
    "may_disable": true,
    "may_stop": true,
    "name": "alice",
    "need": "text",
    "pid": 1,
    "role": "user",
    "rounds": 1,
    "since": "text",
    "state": "up",
    "stopped_at": "text",
    "stopped_by": "text",
    "stopped_from": "text",
    "systemd_restarts": 1,
    "timeout": 1,
    "unit": "text",
    "version": "0.0.1",
    "watched": true
  },
  "detached": true,
  "result": "text",
  "was": "text"
}
```

## Errors

- 400: A daemon is named with letters, digits, dots and hyphens
- 401: Authentication required
