---
title: "POST /api/rep/medications"
method: POST
path: "/api/rep/medications"
tags: ["Rep"]
---

# POST /api/rep/medications

`POST /api/rep/medications`

## Request

- Base URL: `https://idkrx.com`
- URL: `https://idkrx.com/api/rep/medications`
- Auth: API key in cookie `authjs.session-token`

Toggle medication in/out of workspace tracking

## Request body

- object
  - `dId` string, required

## Response `200`

Medications updated

## Other responses

- `400`: Invalid request
- `401`: Unauthorized

---

[API](https://skmtc.dev/idkrx/apis/idkrx-api.md) · [All operations](https://skmtc.dev/idkrx/apis/idkrx-api/llms.txt) · [OpenAPI document](https://skmtc.dev/idkrx/apis/idkrx-api/revisions/086725fb5578?raw)
