---
title: "Get registry rules"
method: GET
path: "/retirements/program/{RetirementProgramCode}/rules"
tags: ["Retirements"]
---

# Get registry rules

`GET /retirements/program/{RetirementProgramCode}/rules`

## Request

- Base URL: `https://sandbox.preprod.connect.xpansiv.com/app/api/v1`
- URL: `https://sandbox.preprod.connect.xpansiv.com/app/api/v1/retirements/program/{RetirementProgramCode}/rules`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/xpansiv/apis/xpansiv-connect-api/docs/retirements/program/:RetirementProgramCode/rules/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `RetirementProgramCode` string, required: Retirement program code. Ref.Data.RETIREMENT_PROGRAM

## Response `200`

Retirement Rule

- object

## Other responses

- `401`: Not authorized error
- `404`: Not found
- `500`: Internal server error

---

[API](https://skmtc.dev/xpansiv/apis/xpansiv-connect-api.md) - [All operations](https://skmtc.dev/xpansiv/apis/xpansiv-connect-api/llms.txt) - [OpenAPI document](https://skmtc.dev/xpansiv/apis/xpansiv-connect-api/revisions/01c1f2c4ec1e?raw)
