> For the complete documentation index, see [llms.txt](https://documentation.jaksam-scripts.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.jaksam-scripts.com/doors-creator/server/get-door-id-data.md).

# Get door ID data

## Export

```lua
exports["doors_creator"]:getDoorIdData(doorId)
```

### Parameters

| Name     | Data Type | Description                 |
| -------- | --------- | --------------------------- |
| `doorId` | integer   | The door ID to get the data |

## Example

```lua
Citizen.CreateThread(function() 
    local doorId = 55
    local doorData = exports["doors_creator"]:getDoorIdData(doorId)

    print("The name of the door " .. doorId .. " is " .. doorData.label)
end)
```
