> ## Documentation Index
> Fetch the complete documentation index at: https://learn.nexudus.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get one AutomationTile

> Retrieve a single AutomationTile record by its Id.

An **AutomationTile** represents a physical NFC chip and QR code tile that triggers actions in a Nexudus-powered coworking space. Each tile is linked to a single action (e.g. check-in, booking, door unlock, HTTP request) that fires when a customer scans or taps the tile.

The `Action` field determines what happens when the tile is scanned. Some actions require additional data in `ActionParameters`:

| Action                                                 | ActionParameters format                                                        |
| ------------------------------------------------------ | ------------------------------------------------------------------------------ |
| CheckIn / CheckOut / EventCheckIn                      | Not required                                                                   |
| BookingCheckIn / ResourceCleaned / ShowNewBookingForm  | Resource ID                                                                    |
| BookResource                                           | Resource ID `\|` default booking length in minutes (default 60)                |
| BookDesk                                               | Desk (floor plan item) ID `\|` default booking length in minutes (default 480) |
| ExtendBookingBy                                        | Number of minutes to extend                                                    |
| RequestUrl                                             | Target URL for the HTTP POST request                                           |
| RedirectUrl                                            | URL to redirect the user to                                                    |
| UnlockAct365Door / UnlockDoorDeckDoor / UnlockKisiDoor | Door ID from the access-control provider                                       |
| SmartLock                                              | Smartalock locker bank ID                                                      |

Tiles can optionally be geo-fenced to restrict scanning to a physical area around the tile's installed location. Enable `EnableGeofence`, set `Latitude`/`Longitude`, and choose a `GeofencePrecission` level. `MaxDistanceMeters` overrides the precision preset with a custom radius.

Set `CheckCustomerIn` to also check the customer into the space when they scan the tile, regardless of the tile's primary action.

## Authentication

<Note>
  This endpoint requires OAuth2 authentication. Include a valid bearer token in the `Authorization` header.
  The authenticated user must be a full unrestricted administrator or have the **`AutomationTile-Read`** role.
</Note>

## Path Parameters

<ParamField path="id" type="integer" required>
  The Id of the AutomationTile record to retrieve.
</ParamField>

## Code Examples

<CodeGroup>
  ```bash cURL theme={null}
  curl -X GET \
    "https://spaces.nexudus.com/api/sys/automationtiles/87654321" \
    -H "Authorization: Bearer YOUR_TOKEN"
  ```

  ```javascript JavaScript theme={null}
  const response = await fetch(
    'https://spaces.nexudus.com/api/sys/automationtiles/87654321',
    {
      headers: {
        'Authorization': 'Bearer YOUR_TOKEN'
      }
    }
  );

  const record = await response.json();
  ```

  ```python Python theme={null}
  import requests

  response = requests.get(
      'https://spaces.nexudus.com/api/sys/automationtiles/87654321',
      headers={
          'Authorization': 'Bearer YOUR_TOKEN'
      }
  )

  record = response.json()
  ```
</CodeGroup>

## Response

### 200

<ResponseField name="BusinessId" type="integer">
  ID of the business linked to this record.
</ResponseField>

<ResponseField name="Name" type="string">
  Tile name used to identify it in the admin panel.
</ResponseField>

<ResponseField name="TileNumber" type="string">
  Unique tile identifier (GUID) auto-assigned on creation. Used to generate the QR code and NFC URL.
</ResponseField>

<ResponseField name="Action" type="integer">
  Action triggered when the tile is scanned: None, CheckIn, CheckOut, BookingCheckIn, EventCheckIn, ExtendBookingBy, RequestUrl, RedirectUrl, ResourceCleaned, BookResource, BookDesk, ShowNewBookingForm, UnlockAct365Door, UnlockDoorDeckDoor, UnlockKisiDoor, SmartLock, etc.. See `eAutomationTileAction` enum values: `1` = None, `2` = UnlockAct365Door, `3` = CheckIn, `4` = CheckOut, `5` = BookingCheckIn, `6` = EventCheckIn, `7` = ResourceCleaned, `8` = RequestUrl, `9` = RedirectUrl, `10` = UnlockDoorDeckDoor, `11` = UnlockKisiDoor, `12` = BookResource, `13` = BookDesk, `14` = ShowNewBookingForm, `15` = SmartLock, `16` = ExtendBookingBy, `17` = ShowAcsModal, `18` = UnlockPadWordDoor, `19` = UnlockOPaxtonNet2Door.
</ResponseField>

<ResponseField name="ActionParameters" type="string">
  Parameters for the selected action. Format depends on the action type — e.g. a resource ID, a URL, or a resource ID|duration pair.
</ResponseField>

<ResponseField name="EnableGeofence" type="boolean">
  Whether to restrict the tile to a geographic area. When enabled, the tile only works if the user is within the configured radius of the tile's coordinates.
</ResponseField>

<ResponseField name="CheckCustomerIn" type="boolean">
  Whether to also check the customer into the space when they scan the tile, regardless of the primary action.
</ResponseField>

<ResponseField name="Longitude" type="string">
  Longitude of the tile's installed location. Used for geofencing.
</ResponseField>

<ResponseField name="Latitude" type="string">
  Latitude of the tile's installed location. Used for geofencing.
</ResponseField>

<ResponseField name="GeofencePrecission" type="integer">
  Geofence precision level: Low, Medium, High, or VeryHigh. Higher precision requires the user to be closer to the tile coordinates. See `eAutomationTileGeofencePrecission` enum values: `1` = Low, `2` = Medium, `3` = High, `4` = VeryHigh.
</ResponseField>

<ResponseField name="MaxDistanceMeters" type="integer">
  Custom maximum distance in meters from the tile's coordinates. Overrides the precision preset when set.
</ResponseField>

<ResponseField name="SuccessMessage" type="string">
  Custom message shown to the user when the tile action completes successfully.
</ResponseField>

<ResponseField name="ErrorMessage" type="string">
  Custom error message shown to the user when the tile action fails.
</ResponseField>

<ResponseField name="Resources" type="integer[]">
  List of resources linked to this record.
</ResponseField>

<ResponseField name="Tariffs" type="integer[]">
  List of tariffs linked to this record.
</ResponseField>

<ResponseField name="TimePasses" type="integer[]">
  List of time passes linked to this record.
</ResponseField>

<ResponseField name="FloorPlanDesks" type="integer[]">
  List of floor plan desks linked to this record.
</ResponseField>

<ResponseField name="Id" type="integer">
  Unique record identifier.
</ResponseField>

<ResponseField name="UniqueId" type="string">
  UUID of the record.
</ResponseField>

<ResponseField name="CreatedOn" type="string">
  Date and time the record was created (ISO 8601).
</ResponseField>

<ResponseField name="UpdatedOn" type="string">
  Date and time the record was last updated (ISO 8601).
</ResponseField>

<ResponseField name="UpdatedBy" type="string">
  Email of the user who last updated this record.
</ResponseField>

<ResponseField name="IsNew" type="boolean">
  Whether the record was recently created.
</ResponseField>

<ResponseField name="SystemId" type="string">
  External system identifier.
</ResponseField>

```json Example Response theme={null}
{
  "BusinessId": 0,
  "Name": "",
  "TileNumber": null,
  "Action": 0,
  "ActionParameters": null,
  "EnableGeofence": false,
  "CheckCustomerIn": false,
  "Longitude": null,
  "Latitude": null,
  "GeofencePrecission": 0,
  "MaxDistanceMeters": null,
  "SuccessMessage": null,
  "ErrorMessage": null,
  "Resources": [],
  "Tariffs": [],
  "TimePasses": [],
  "FloorPlanDesks": [],
  "Id": 87654321,
  "UpdatedOn": "2025-01-15T10:30:00Z",
  "CreatedOn": "2025-01-10T08:00:00Z",
  "UniqueId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "UpdatedBy": "admin@example.com",
  "IsNew": false,
  "SystemId": null,
  "ToStringText": "AutomationTile Example",
  "LocalizationDetails": null,
  "CustomFields": null
}
```
