> This page is optimized for agents. Use the linked Markdown pages and llms.txt indexes for related API content.

# Get reservation

> Fetches reservation by card number.

- Product: Cat
- Section: Integration - CAT
- Snapshot: Current
- Method: `GET`
- Path: `/api/cat/card/{cardnr}/reservation`

## Path parameters

### `cardnr`

Type: `string`  
Required: yes  

## Execute with TypeScript

Package: `@recranet/sdk`  

```ts
import { RecranetApiClient } from "@recranet/sdk";

const client = new RecranetApiClient({ apiKey: process.env.RECRANET_API_KEY! });

const result = await client.cat.card.reservation({
  cardnr: "<cardnr>",
});
```

## Execute with curl

```bash
curl "https://app.recranet.com/api/cat/card/$CARDNR/reservation" \
    -H "X-Api-Key: $RECRANET_API_KEY"
```

## Responses

### Response `200`

Category: success  

Successful response

#### `application/json`

##### Generated example

```json
{
  "id": 1000,
  "token": "fdffb9ad-eeba-40da-9592-23b2c6ee067a",
  "name": "Cash",
  "number": "2024-0001"
}
```

##### Schema

###### object

Type: `object`  

###### `id`

Type: `number`  
Required: no  

###### `token`

Type: `string`  
Required: no  

###### `name`

Type: `string`  
Required: no  

###### `number`

Type: `string`  
Required: no  

### Response `404`

Category: client-error  

Not found

#### `application/json`

##### Example

```json
{
  "statusCode": 404,
  "description": "Not found",
  "errors": [
    "Not found"
  ]
}
```

##### Schema

###### object

Type: `object`  

## Related representations

- [Human documentation](/cat/card/methods/reservation/)
- [TypeScript Markdown](/cat/card/methods/reservation.md?lang=typescript)
- [curl Markdown](/cat/card/methods/reservation.md?lang=curl)
- [site llms.txt](/llms.txt)
- [product llms.txt](/cat/llms.txt)
- [snapshot llms.txt](/cat/llms.txt)
