---
title: "POST /api/rep/access-grants/accept"
method: POST
path: "/api/rep/access-grants/accept"
tags: ["Rep"]
---

# POST /api/rep/access-grants/accept

`POST /api/rep/access-grants/accept`

## Request

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

Accept a rep access grant and link to current account

## Request body

- object
  - `token` string, required

## Response `200`

Grant accepted

## Other responses

- `400`: Invalid request
- `403`: Email mismatch

---

[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)
