# Incidents - X-Radius API

> Base URL: https://x-radius.com/api/v1
> Auth: Authorization: Bearer xrt_...  (a manager API token)
> Envelope: {"data": ...}; lists add {"meta":{page,page_size,total,has_next}}
> Errors: {"error":{"code","message","request_id"}} - branch on code, never on message
> Timestamps: yyyy-MM-dd HH:mm:ss, UTC
> Money: a bare JSON number in major units, with an ISO-4217 currency code beside it
> Idempotency: redeem and activate endpoints take a client-supplied request_id (UUID)
>
> This page: https://x-radius.com/docs/api/incidents
> Every group: https://x-radius.com/llms.txt

18 endpoints in 1 resource groups. 0 carry a hand-written reference entry with examples; the remaining 18 are generated from the running router and carry method, path, authentication, permission and rate-limit bucket, but no request or response example.

### View incidents

`GET /api/v1/incidents`

- Authentication: manager session (JWT) or API token
- Permission: `prm_incidents_view` (View incidents)
- Risk: read

_This endpoint has no hand-written reference entry yet. The method, path, authentication, permission and rate limit above are generated from the running router and are accurate; there is no request or response example._


### Create and manage incidents

`POST /api/v1/incidents`

- Authentication: manager session (JWT) or API token
- Permission: `prm_incidents_manage` (Create and manage incidents)
- Risk: write
- Rate limit bucket: `t_mutate`

_This endpoint has no hand-written reference entry yet. The method, path, authentication, permission and rate limit above are generated from the running router and are accurate; there is no request or response example._


### Create and manage incidents

`DELETE /api/v1/incidents/{id}`

- Authentication: manager session (JWT) or API token
- Permission: `prm_incidents_manage` (Create and manage incidents)
- Risk: write
- Rate limit bucket: `t_mutate`

_This endpoint has no hand-written reference entry yet. The method, path, authentication, permission and rate limit above are generated from the running router and are accurate; there is no request or response example._


### View incidents

`GET /api/v1/incidents/{id}`

- Authentication: manager session (JWT) or API token
- Permission: `prm_incidents_view` (View incidents)
- Risk: read

_This endpoint has no hand-written reference entry yet. The method, path, authentication, permission and rate limit above are generated from the running router and are accurate; there is no request or response example._


### Create and manage incidents

`PATCH /api/v1/incidents/{id}`

- Authentication: manager session (JWT) or API token
- Permission: `prm_incidents_manage` (Create and manage incidents)
- Risk: write
- Rate limit bucket: `t_mutate`

_This endpoint has no hand-written reference entry yet. The method, path, authentication, permission and rate limit above are generated from the running router and are accurate; there is no request or response example._


### Reply to / resolve an incident's linked tickets

`POST /api/v1/incidents/{id}/broadcast`

- Authentication: manager session (JWT) or API token
- Permission: `prm_incidents_reply` (Reply to / resolve an incident's linked tickets)
- Risk: danger
- Rate limit bucket: `t_mutate`

_This endpoint has no hand-written reference entry yet. The method, path, authentication, permission and rate limit above are generated from the running router and are accurate; there is no request or response example._


### Create and manage incidents

`GET /api/v1/incidents/{id}/candidate-tickets`

- Authentication: manager session (JWT) or API token
- Permission: `prm_incidents_manage` (Create and manage incidents)
- Risk: write

_This endpoint has no hand-written reference entry yet. The method, path, authentication, permission and rate limit above are generated from the running router and are accurate; there is no request or response example._


### View incidents

`GET /api/v1/incidents/{id}/compensations`

- Authentication: manager session (JWT) or API token
- Permission: `prm_incidents_view` (View incidents)
- Risk: read

_This endpoint has no hand-written reference entry yet. The method, path, authentication, permission and rate limit above are generated from the running router and are accurate; there is no request or response example._


### Approve/reject compensation requests

`POST /api/v1/incidents/{id}/compensations/approve`

- Authentication: manager session (JWT) or API token
- Permission: `prm_users_compensate_approve` (Approve/reject compensation requests)
- Risk: danger
- Rate limit bucket: `t_mutate`

_This endpoint has no hand-written reference entry yet. The method, path, authentication, permission and rate limit above are generated from the running router and are accurate; there is no request or response example._


### Compensate users

`POST /api/v1/incidents/{id}/compensations/generate`

- Authentication: manager session (JWT) or API token
- Permission: `prm_users_compensate` (Compensate users)
- Risk: write
- Rate limit bucket: `t_mutate`

_This endpoint has no hand-written reference entry yet. The method, path, authentication, permission and rate limit above are generated from the running router and are accurate; there is no request or response example._


### Approve/reject compensation requests

`POST /api/v1/incidents/{id}/compensations/reject`

- Authentication: manager session (JWT) or API token
- Permission: `prm_users_compensate_approve` (Approve/reject compensation requests)
- Risk: danger
- Rate limit bucket: `t_mutate`

_This endpoint has no hand-written reference entry yet. The method, path, authentication, permission and rate limit above are generated from the running router and are accurate; there is no request or response example._


### View incidents

`GET /api/v1/incidents/{id}/events`

- Authentication: manager session (JWT) or API token
- Permission: `prm_incidents_view` (View incidents)
- Risk: read

_This endpoint has no hand-written reference entry yet. The method, path, authentication, permission and rate limit above are generated from the running router and are accurate; there is no request or response example._


### Create and manage incidents

`POST /api/v1/incidents/{id}/notes`

- Authentication: manager session (JWT) or API token
- Permission: `prm_incidents_manage` (Create and manage incidents)
- Risk: write
- Rate limit bucket: `t_mutate`

_This endpoint has no hand-written reference entry yet. The method, path, authentication, permission and rate limit above are generated from the running router and are accurate; there is no request or response example._


### Reply to / resolve an incident's linked tickets

`POST /api/v1/incidents/{id}/resolve-tickets`

- Authentication: manager session (JWT) or API token
- Permission: `prm_incidents_reply` (Reply to / resolve an incident's linked tickets)
- Risk: danger
- Rate limit bucket: `t_mutate`

_This endpoint has no hand-written reference entry yet. The method, path, authentication, permission and rate limit above are generated from the running router and are accurate; there is no request or response example._


### Create and manage incidents

`POST /api/v1/incidents/{id}/status`

- Authentication: manager session (JWT) or API token
- Permission: `prm_incidents_manage` (Create and manage incidents)
- Risk: write
- Rate limit bucket: `t_mutate`

_This endpoint has no hand-written reference entry yet. The method, path, authentication, permission and rate limit above are generated from the running router and are accurate; there is no request or response example._


### View incidents

`GET /api/v1/incidents/{id}/tickets`

- Authentication: manager session (JWT) or API token
- Permission: `prm_incidents_view` (View incidents)
- Risk: read

_This endpoint has no hand-written reference entry yet. The method, path, authentication, permission and rate limit above are generated from the running router and are accurate; there is no request or response example._


### Create and manage incidents

`POST /api/v1/incidents/{id}/tickets`

- Authentication: manager session (JWT) or API token
- Permission: `prm_incidents_manage` (Create and manage incidents)
- Risk: write
- Rate limit bucket: `t_mutate`

_This endpoint has no hand-written reference entry yet. The method, path, authentication, permission and rate limit above are generated from the running router and are accurate; there is no request or response example._


### Create and manage incidents

`DELETE /api/v1/incidents/{id}/tickets/{ticketId}`

- Authentication: manager session (JWT) or API token
- Permission: `prm_incidents_manage` (Create and manage incidents)
- Risk: write
- Rate limit bucket: `t_mutate`

_This endpoint has no hand-written reference entry yet. The method, path, authentication, permission and rate limit above are generated from the running router and are accurate; there is no request or response example._


