---
title: "Get a record (Database API)"
description: ""
canonical: "https://docs.softr.io/api/records/get-record"
updated: "2026-12-04"
---

# Get a record (Database API)



```http
GET https://tables-api.softr.io/api/v1/databases/{databaseId}/tables/{tableId}/records/{recordId}
```

## Authorizations

- `Softr-Api-Key` (API key, in header, required)

## Path parameters

- `databaseId` (`string`, required)
- `tableId` (`string`, required)
- `recordId` (`string`, required)

## Query parameters

- `fieldNames` (`boolean`, default: `false`): If true, use field names as keys in the fields object instead of field IDs.

## Response

**200**: Record details.

- `data` (`object`)
- `data.id` (`string`)
- `data.tableId` (`string`)
- `data.fields` (`Record<string, unknown>`): A map of Field IDs to their values for this record.
- `data.createdAt` (`string<date-time>`)
- `data.updatedAt` (`string<date-time>`)

```json
{
  "data": {
    "id": "<string>",
    "tableId": "<string>",
    "fields": {},
    "createdAt": "2024-01-01T00:00:00Z",
    "updatedAt": "2024-01-01T00:00:00Z"
  }
}
```

**429**: Rate limit exceeded.

No response body.

**Example request**

```bash
curl --request GET \
  --url 'https://tables-api.softr.io/api/v1/databases/<databaseId>/tables/<tableId>/records/<recordId>' \
  --header 'Softr-Api-Key: <api-key>'
```
