# Report something broken

`POST /lodging/desk/issues` · Rivier · bookings

Report something broken. Taking the room out of order while it is fixed is a person's decision.

- Scope: bookings:write
- Mcp: rivier_frontdesk_issue_report
- Graphql: Mutation.reportMaintenanceIssue
- Sdk: bookings.maintenance.report
- Cli: bookings maintenance report

## Request body

`application/json`

```json
{
  "type": "object",
  "properties": {
    "propertyId": {
      "type": "string",
      "format": "uuid"
    },
    "unitId": {
      "type": "string",
      "format": "uuid"
    },
    "title": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200
    },
    "detail": {
      "type": "string",
      "maxLength": 2000,
      "default": ""
    },
    "severity": {
      "type": "string",
      "enum": [
        "low",
        "normal",
        "urgent"
      ],
      "default": "normal"
    },
    "blocksUnit": {
      "type": "boolean",
      "default": false
    }
  },
  "required": [
    "propertyId",
    "title"
  ],
  "additionalProperties": false
}
```

## Responses

- `201`: Success
- `400`: The request was malformed
- `401`: No valid credential
- `403`: The credential lacks the scope, origin or address
- `429`: Over the key's rate limit; see Retry-After

## Example

```sh
curl -X POST 'https://api.rivier.ai/lodging/desk/issues' \
  -H 'Authorization: Bearer $KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "propertyId": "string",
  "title": "string"
}'
```
