> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.recurrente.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.recurrente.com/_mcp/server.

# Listar los servicios que se reservan

GET https://app.recurrente.com/api/services

Los productos a la venta que se reservan (citas, clases y tipos de
habitación), con su nombre, precio y duración: de aquí sale el
`service_id` que piden `GET /availability` y `POST /bookings`. Para
configurar uno, envía `booking` al crear o actualizar el producto.


Reference: https://docs.recurrente.com/referencia-api/api-reference/bookings/list-services

## Authentication

- `X-SECRET-KEY` header (required) — Tu clave secreta de API. Una llave de cuenta (`sk_live_...`, `sk_test_...`) opera sobre su propia cuenta y, con `X-ACCOUNT-ID`, sobre sus cuentas conectadas. La llave también fija el ambiente: una `sk_test_` solo lista y resuelve objetos de prueba (`live_mode: false`) y una `sk_live_` solo objetos reales. Un ID del otro ambiente responde `404` (`401` en `/customers`). Una llave de organización (`sk_org_live_...`, `sk_org_test_...`) alcanza todas las cuentas de una organización y solo sirve para leer: saldos, movimientos y reportes. Para operar sobre una cuenta debe nombrarla con `X-ACCOUNT-ID`; omitirlo en una lectura devuelve todas las cuentas de la organización. Cualquier otro endpoint responde `403` con `code: organization_key_unsupported`.

## Request

### Query parameters

- `kind` (enum, optional)
  - Allowed values: `appointment`, `class`, `lodging`
- `page` (integer, optional, default: 1)

## Response

### 200

Los servicios

- `list of Service`

## Errors

### 403 Forbidden Error

La cuenta es personal, sin Citas (`bookings_not_enabled`)

- `message` (string, optional) — Mensaje de error
- `code` (string, optional) — Código estable legible por máquinas, cuando aplica
- `refund_id` (string, optional) — ID del reembolso relacionado cuando aplica
- `endpoint` (string, optional) — Acción de API rechazada, cuando aplica
- `errors` (ErrorErrors, optional) — Detalles de errores por campo

## Types

### Service

Un servicio que se reserva, con el nombre y el precio de su producto.

- `id` (string, optional) — El `service_id` de `GET /availability` y `POST /bookings`.
- `account_id` (string, optional)
- `product_id` (string, optional)
- `name` (string, optional)
- `kind` (enum, optional)
  - Allowed values: `appointment`, `class`, `lodging`
- `duration_minutes` (integer, optional)
- `amount_in_cents` (integer, optional, nullable)
- `currency` (string, optional, nullable)
- `payment_policy` (enum, optional)
  - Allowed values: `none`, `card_on_file`, `deposit`, `full`
- `online_booking_enabled` (boolean, optional)
- `staff_member_ids` (list of string, optional)
- `resource_ids` (list of string, optional)

### ErrorErrors

Detalles de errores por campo

## Examples

**Request**

```json
{}
```

**Response**

```json
[
  {
    "id": "svc_9f8e7d6c",
    "account_id": "ac_987654",
    "product_id": "prod_4a3b2c1d",
    "name": "Corte de pelo",
    "kind": "appointment",
    "duration_minutes": 45,
    "amount_in_cents": 15000,
    "currency": "GTQ",
    "payment_policy": "none",
    "online_booking_enabled": true,
    "staff_member_ids": [
      "stf_123abc"
    ],
    "resource_ids": [
      "res_456def"
    ]
  }
]
```

**SDK Code**

```python
import requests

url = "https://app.recurrente.com/api/services"

payload = {}
headers = {
    "X-SECRET-KEY": "<apiKey>",
    "Content-Type": "application/json"
}

response = requests.get(url, json=payload, headers=headers)

print(response.json())
```

```javascript
const url = 'https://app.recurrente.com/api/services';
const options = {
  method: 'GET',
  headers: {'X-SECRET-KEY': '<apiKey>', 'Content-Type': 'application/json'},
  body: '{}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://app.recurrente.com/api/services"

	payload := strings.NewReader("{}")

	req, _ := http.NewRequest("GET", url, payload)

	req.Header.Add("X-SECRET-KEY", "<apiKey>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://app.recurrente.com/api/services")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["X-SECRET-KEY"] = '<apiKey>'
request["Content-Type"] = 'application/json'
request.body = "{}"

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://app.recurrente.com/api/services")
  .header("X-SECRET-KEY", "<apiKey>")
  .header("Content-Type", "application/json")
  .body("{}")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://app.recurrente.com/api/services', [
  'body' => '{}',
  'headers' => [
    'Content-Type' => 'application/json',
    'X-SECRET-KEY' => '<apiKey>',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://app.recurrente.com/api/services");
var request = new RestRequest(Method.GET);
request.AddHeader("X-SECRET-KEY", "<apiKey>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = [
  "X-SECRET-KEY": "<apiKey>",
  "Content-Type": "application/json"
]
let parameters = [] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://app.recurrente.com/api/services")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```