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

# Get a human

GET https://api.slotflow.dev/v1/humans/{humanId}

Get a single human by ID, including their availability rules. Returns `availability_rules: null` if rules haven't been configured yet.


Reference: https://docs.slotflow.dev/api-reference/slotflow-api/humans/get-human

## Authentication

- `Authorization` header (bearer token, required) — API key authentication. Pass your key as a Bearer token: ``` Authorization: Bearer sk_live_xxxxxxxxxxxxxxxxxxxx ``` Get your API key from the [Slotflow Dashboard](https://app.slotflow.dev).

## Request

### Path parameters

- `humanId` (string, required) — The ID of the human

## Response

### 200

Human with availability rules

- `active` (boolean, required) — Whether the human is active and bookable
- `created_at` (datetime, required) — ISO 8601 creation timestamp
- `id` (string, required) — Unique identifier for the human
- `name` (string, required) — Full name of the human
- `timezone` (string, required) — IANA timezone identifier (e.g. "America/New_York")
- `availability_rules` (AvailabilityRules, optional) — The human's base weekly schedule. Null if not yet configured.
- `email` (string, optional, nullable) — Email address (optional)
- `role` (string, optional, nullable) — Role or title (e.g. "sales_rep", "interviewer")

## Errors

### 404 Not Found Error

Resource not found

- `error` (ApiErrorError, optional)

## Types

### AvailabilityRules

The human's base weekly schedule. Null if not yet configured.

- `working_days` (list of integer, required) — Days of the week the human works. 1=Monday, 2=Tuesday, ..., 7=Sunday.
- `work_start` (string, required) — Start of working hours in HH:MM format (in human's timezone)
- `work_end` (string, required) — End of working hours in HH:MM format (in human's timezone)
- `meeting_durations` (list of integer, required) — Allowed meeting durations in minutes

### ApiErrorError

- `code` (enum, optional) — Machine-readable error code
  - Allowed values: `UNAUTHORIZED`, `NOT_FOUND`, `SLOT_UNAVAILABLE`, `INVALID_DURATION`, `OUTSIDE_WORKING_HOURS`, `SCHEDULE_BLOCKED`, `LIMIT_REACHED`, `VALIDATION_ERROR`
- `message` (string, optional) — Human-readable error description
- `status` (integer, optional) — HTTP status code

## Examples

**Response**

```json
{
  "active": true,
  "created_at": "2026-03-10T10:00:00.000Z",
  "id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
  "name": "Sarah Chen",
  "timezone": "America/New_York",
  "availability_rules": {
    "working_days": [
      1,
      2,
      3,
      4,
      5
    ],
    "work_start": "09:00",
    "work_end": "17:00",
    "meeting_durations": [
      30,
      60
    ]
  },
  "email": "sarah@acme.com",
  "role": "sales_rep"
}
```

**SDK Code**

```python Humans_getHuman_example
import requests

url = "https://api.slotflow.dev/v1/humans/humanId"

headers = {"Authorization": "Bearer <token>"}

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

print(response.json())
```

```javascript Humans_getHuman_example
const url = 'https://api.slotflow.dev/v1/humans/humanId';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

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

```go Humans_getHuman_example
package main

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

func main() {

	url := "https://api.slotflow.dev/v1/humans/humanId"

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

	req.Header.Add("Authorization", "Bearer <token>")

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

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

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

}
```

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

url = URI("https://api.slotflow.dev/v1/humans/humanId")

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

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

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

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

HttpResponse<String> response = Unirest.get("https://api.slotflow.dev/v1/humans/humanId")
  .header("Authorization", "Bearer <token>")
  .asString();
```

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

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.slotflow.dev/v1/humans/humanId', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

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

```csharp Humans_getHuman_example
using RestSharp;

var client = new RestClient("https://api.slotflow.dev/v1/humans/humanId");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift Humans_getHuman_example
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.slotflow.dev/v1/humans/humanId")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

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()
```