---
title: "Gets the rule's module corresponding to the given Category and ID."
method: GET
path: "/rules/{ruleUID}/{moduleCategory}/{id}"
tags: ["rules"]
---

# Gets the rule's module corresponding to the given Category and ID.

`GET /rules/{ruleUID}/{moduleCategory}/{id}`

## Path parameters

- `ruleUID` string, required
- `moduleCategory` string, required
- `id` string, required

## Response `200`

OK

- ModuleDTO
  - `id` string
  - `label` string
  - `description` string
  - `configuration` object
  - `type` string

## Other responses

- `404` — Rule corresponding to the given UID does not found or does not have a module with such Category and ID.

---

[API](https://skmtc.net/openhab/apis/openhab-rest-api.md) · [All operations](https://skmtc.net/openhab/apis/openhab-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openhab/openhab-rest-api/versions/0f2ce17cab3e/schema)
