> This is a page from the ElevenLabs documentation. For a complete page index, fetch https://elevenlabs.io/docs/llms.txt. For the full documentation in a single file, fetch https://elevenlabs.io/docs/llms-full.txt.

# Asset ophalen

GET https://api.elevenlabs.io/v1/reception/assets/{asset_id}

Get an asset by ID.

Reference: https://elevenlabs.io/docs/api-reference/reception/assets/get

## Servers

- `https://api.elevenlabs.io` (Production, default)
- `https://api.us.elevenlabs.io` (Production US)
- `https://api.eu.residency.elevenlabs.io` (Production EU)
- `https://api.in.residency.elevenlabs.io` (Production India)
- `https://api.sg.residency.elevenlabs.io` (Production Singapore)

## Request

### Path parameters

- `asset_id` (string, required)

### Headers

- `xi-workspace-id` (string, optional, nullable) — The customer workspace a reseller's API key acts on.

## Response

### 200

Geslaagde response

- `name` (string, required) — Internal/admin name of the asset, shown in the dashboard and owner notifications.
- `_id` (string, required)
- `groups` (list of SMBGroupMembership, optional) — Group memberships for this item. Each entry carries the group label and the item's 0-based rank within that group.
- `ungrouped_rank` (integer, optional, nullable) — Display position among items with no group; `null` sorts last. Change it with the reorder endpoint.
- `description` (string, optional) — Description of the asset.
- `is_active` (boolean, optional, default: true) — Whether the asset can be booked. Inactive assets keep their booking history.
- `available_hours` (WorkingHours, optional, nullable) — Custom availability hours for this asset. Null means follow the assigned location's operating_hours (requires location_id).
- `photo_url` (string, optional, nullable) — URL of a photo of the asset.
- `location_id` (string, optional, nullable) — Location this asset belongs to; empty means available at all locations.
- `customer_facing_name` (string, optional) — Optional public-facing label. When empty, `name` is shown to customers too. `name` stays the internal/admin label used in the dashboard and business-owner notifications.
- `created_at_unix` (integer, optional) — Unix timestamp (seconds since epoch)
- `updated_at_unix` (integer, optional) — Unix timestamp (seconds since epoch)

## Errors

### 422 Unprocessable Entity Error

Validatiefout

- `detail` (list of ValidationError, optional)

## Types

### SMBGroupMembership

Membership of an item in a single user-defined group, with its display rank inside that group.

- `label` (string, required)
- `rank` (integer, optional, default: 0) — 0-based display position within this group. Change it with the reorder endpoint; send back the value you read to keep the order, a membership sent without it goes to position 0.

### WorkingHours

- `hours` (map from string to list of TimeRangeModel, optional)
- `timezone` (string, optional, nullable) — Timezone of these hours. Null uses the business's timezone.

### ValidationError

- `loc` (list of ValidationErrorLocItems, required)
- `msg` (string, required)
- `type` (string, required)

### TimeRangeModel

Represents a time-of-day range (e.g., 09:00-17:00) commonly used for working hours, available hours, or recurring schedules.

- `start_hour` (integer, required) — Start hour (0-23)
- `start_minute` (integer, required) — Start minute (0-59)
- `end_hour` (integer, required) — End hour (0-24, where 24:00 means midnight end-of-day)
- `end_minute` (integer, required) — End minute (0-59)

### ValidationErrorLocItems

- string
- integer

## Examples

**Response**

```json
{
  "name": "string",
  "_id": "string",
  "groups": [
    {
      "label": "string",
      "rank": 0
    }
  ],
  "ungrouped_rank": 1,
  "description": "string",
  "is_active": true,
  "available_hours": {
    "hours": {},
    "timezone": "string"
  },
  "photo_url": "string",
  "location_id": "string",
  "customer_facing_name": "string",
  "created_at_unix": 1,
  "updated_at_unix": 1
}
```

**SDK Code**

```python
import requests

url = "https://api.elevenlabs.io/v1/reception/assets/asset_id"

response = requests.get(url)

print(response.json())
```

```javascript
const url = 'https://api.elevenlabs.io/v1/reception/assets/asset_id';
const options = {method: 'GET'};

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"
	"net/http"
	"io"
)

func main() {

	url := "https://api.elevenlabs.io/v1/reception/assets/asset_id"

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

	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://api.elevenlabs.io/v1/reception/assets/asset_id")

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

request = Net::HTTP::Get.new(url)

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://api.elevenlabs.io/v1/reception/assets/asset_id")
  .asString();
```

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

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.elevenlabs.io/v1/reception/assets/asset_id');

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

```csharp
using RestSharp;

var client = new RestClient("https://api.elevenlabs.io/v1/reception/assets/asset_id");
var request = new RestRequest(Method.GET);
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "https://api.elevenlabs.io/v1/reception/assets/asset_id")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"

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