# set_service_enabled

Turn a service on or off.

`PUT /v1/services/{serviceId}/enabled` · MCP tool `set_service_enabled` · scope `publish` · beta · since 2026-11-27.4

Only when the creator asks you to. Needs a key with the publish option (403 api_scope_required otherwise). enabled true shows the service to travelers at once, who can then request and pay for it; it is refused with invalid_request while the service misses something (missing in get_service lists it). false hides it at once; orders already made carry on. Turning one on means the creator delivers what travelers order: never on your own.

## Path parameters

- `serviceId` (string, required): Id of the service (serviceId from list_services or create_service).

## Body parameters

- `enabled` (boolean, required): true turns the service on, false off.

## Returns

200.

- `serviceId` (string, required): The service's id.
- `kind` (string, required): trip_plan: a Personal trip plan; video_call: a Video call. One of `trip_plan`, `video_call`.
- `title` (string, required): The title travelers see.
- `description` (string, required): The short description.
- `enabled` (boolean, required): True when the service is on: travelers see it and can request it (set_service_enabled, with the publish option).
- `missing` (array of strings, required): What the service still needs before it can be turned on (cover: a main picture or a thumbnail); empty when ready. One of `title`, `description`, `cover`, `price`, `deliveryDays`, `callMinutes`, `callUrl`.
- `currency` (string, required): The creator's currency, which every priceMinor is in. One of `chf`, `eur`, `usd`.
- `priceMinor` (number, required): The price in minor units: a video call's price, a trip plan's lowest price by trip length (0 without).
- `tripPrices` (array of objects or null, required): A trip plan's prices by trip length, shortest first; null on a video call.
  - `days` (number, required): The longest trip this price covers, in days.
  - `priceMinor` (number, required): The price in minor units.
  - `ownPrices` (array of objects, required): The creator's own prices for this length in the other currencies ([] without).
    - `currency` (string, required): The currency of this own price. One of `chf`, `eur`, `usd`.
    - `priceMinor` (number, required): The creator's own price in that currency, in minor units.
- `ownPrices` (array of objects, required): A video call's own prices in the other currencies ([] without, and on a trip plan).
  - `currency` (string, required): The currency of this own price. One of `chf`, `eur`, `usd`.
  - `priceMinor` (number, required): The creator's own price in that currency, in minor units.
- `deliveryDays` (number or null, required): A trip plan's delivery time in days; null on a video call.
- `callMinutes` (enum or null, required): A video call's length in minutes; null on a trip plan. One of `30`, `60`.
- `callUrl` (string or null, required): A video call's standing call link; null without.
- `includes` (array of strings, required): What you get, line by line ([] without).
- `countries` (array of strings, required): Countries, ISO 3166-1 alpha-2 codes ([] without).
- `languages` (array of strings, required): Language codes ([] without).
- `mainPicture` (object or null, required): The picture the service's page opens on.
  - `url` (string, required): The picture's URL.
  - `width` (number, required): Width in pixels.
  - `height` (number, required): Height in pixels.
- `thumbnail` (object or null, required): The picture the service's cards show: the main picture while thumbnailLinked, else the creator's own thumbnail.
  - `url` (string, required): The picture's URL.
  - `width` (number, required): Width in pixels.
  - `height` (number, required): Height in pixels.
- `thumbnailLinked` (boolean, required): True when the thumbnail follows the main picture (the default); set_service_cover gives it a photo of its own and set_service_thumbnail_linked links it again.
- `photos` (array of objects, required): The photos on the service's page, in order.
  - `storageId` (string, required): The photo's file id, for remove_service_photo.
  - `url` (string, required): The photo's URL.
  - `width` (number, required): Width in pixels.
  - `height` (number, required): Height in pixels.
- `studioUrl` (string, required): The service's form in the studio, where the creator checks it and turns it on.
- `createdAt` (number, required): When the row was created (Unix time in milliseconds).
- `updatedAt` (number, required): When the row last changed (Unix time in milliseconds).

## Examples

### Turn the trip plan on, as the creator asked: travelers can request it now

```bash
curl -X PUT "https://sceniq.earth/api/v1/services/kq73m5p7r9t1v3x5z7b9d1f3h5k7m9p1/enabled" \
  -H "Authorization: Bearer $SCENIQ_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "enabled": true
}'
```

MCP `tools/call`:

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "set_service_enabled",
    "arguments": {
      "serviceId": "kq73m5p7r9t1v3x5z7b9d1f3h5k7m9p1",
      "enabled": true
    }
  }
}
```

Response 200:

```json
{
  "serviceId": "kq73m5p7r9t1v3x5z7b9d1f3h5k7m9p1",
  "kind": "trip_plan",
  "title": "Your Yellowstone trip, planned",
  "description": "Tell me your dates and how you like to travel. I plan your days around the light, the geyser basins and the quiet trails, with where to sleep and where to park.",
  "includes": [
    "A day by day route for your dates",
    "Sunrise and sunset spots with parking",
    "Where to sleep, with links to book",
    "Free changes until you are happy"
  ],
  "countries": [
    "US"
  ],
  "languages": [
    "en",
    "sv"
  ],
  "enabled": true,
  "missing": [],
  "currency": "usd",
  "priceMinor": 19900,
  "tripPrices": [
    {
      "days": 3,
      "priceMinor": 19900,
      "ownPrices": []
    },
    {
      "days": 7,
      "priceMinor": 34900,
      "ownPrices": []
    }
  ],
  "ownPrices": [],
  "deliveryDays": 5,
  "callMinutes": null,
  "callUrl": null,
  "mainPicture": {
    "url": "https://quiet-heron-512.convex.cloud/api/storage/kg2d1f7h3k9n5q1t7w3z9c5f1j7m3q9t",
    "width": 2048,
    "height": 1365
  },
  "thumbnail": {
    "url": "https://quiet-heron-512.convex.cloud/api/storage/kg2d1f7h3k9n5q1t7w3z9c5f1j7m3q9t",
    "width": 2048,
    "height": 1365
  },
  "thumbnailLinked": true,
  "photos": [],
  "studioUrl": "https://creators.sceniq.earth/services/kq73m5p7r9t1v3x5z7b9d1f3h5k7m9p1",
  "createdAt": 1762000000000,
  "updatedAt": 1762007200000
}
```

### Turn it off again; orders already made carry on

```bash
curl -X PUT "https://sceniq.earth/api/v1/services/kq73m5p7r9t1v3x5z7b9d1f3h5k7m9p1/enabled" \
  -H "Authorization: Bearer $SCENIQ_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "enabled": false
}'
```

MCP `tools/call`:

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "set_service_enabled",
    "arguments": {
      "serviceId": "kq73m5p7r9t1v3x5z7b9d1f3h5k7m9p1",
      "enabled": false
    }
  }
}
```

Response 200:

```json
{
  "serviceId": "kq73m5p7r9t1v3x5z7b9d1f3h5k7m9p1",
  "kind": "trip_plan",
  "title": "Your Yellowstone trip, planned",
  "description": "Tell me your dates and how you like to travel. I plan your days around the light, the geyser basins and the quiet trails, with where to sleep and where to park.",
  "includes": [
    "A day by day route for your dates",
    "Sunrise and sunset spots with parking",
    "Where to sleep, with links to book",
    "Free changes until you are happy"
  ],
  "countries": [
    "US"
  ],
  "languages": [
    "en",
    "sv"
  ],
  "enabled": false,
  "missing": [],
  "currency": "usd",
  "priceMinor": 19900,
  "tripPrices": [
    {
      "days": 3,
      "priceMinor": 19900,
      "ownPrices": []
    },
    {
      "days": 7,
      "priceMinor": 34900,
      "ownPrices": []
    }
  ],
  "ownPrices": [],
  "deliveryDays": 5,
  "callMinutes": null,
  "callUrl": null,
  "mainPicture": {
    "url": "https://quiet-heron-512.convex.cloud/api/storage/kg2d1f7h3k9n5q1t7w3z9c5f1j7m3q9t",
    "width": 2048,
    "height": 1365
  },
  "thumbnail": {
    "url": "https://quiet-heron-512.convex.cloud/api/storage/kg2d1f7h3k9n5q1t7w3z9c5f1j7m3q9t",
    "width": 2048,
    "height": 1365
  },
  "thumbnailLinked": true,
  "photos": [],
  "studioUrl": "https://creators.sceniq.earth/services/kq73m5p7r9t1v3x5z7b9d1f3h5k7m9p1",
  "createdAt": 1762000000000,
  "updatedAt": 1762007200000
}
```

## Errors

- `invalid_argument` (400): A required field is missing, a field is unknown, or a value does not match its type (the Convex validator's path and value are in the message).
- `invalid_request` (400): A writer refused a value: a map link on a host that is not allowed, a title that is too long, a date that does not exist, too many items in a list. The message is the writer's own sentence.
- `unauthenticated` (401): The request carries no key. Send it as Authorization: Bearer sk_sceniq_... (or X-Api-Key).
- `invalid_api_key` (401): The key is unknown, revoked or expired.
- `api_scope_required` (403): A read-only key called a write operation, or a key without the publish option called publish_changes.
- `forbidden` (403): The key belongs to a creator account that is no longer active.
- `not_found` (404): The id does not exist or belongs to another creator. The two answers are identical on purpose, so ids never reveal what exists.
- `payload_too_large` (413): A JSON body over 2 MB, an image over 6 MB, a batch upload over 19 MB, or an MCP message over 2 MB.
- `rate_limited` (429): Over a limit: requests per key per minute, per creator per hour, uploads per key per minute, or check_links per guide per hour.
- `internal_error` (500): An unexpected failure. The message is hidden on purpose.

Reference: https://developers.sceniq.earth/reference/set_service_enabled
