---
title: "api/groups/checktoken POST
Check a token for a group id, and accept or decline the invite"
method: POST
path: "/api/groups/checktoken"
tags: ["Api\\GroupController"]
---

# api/groups/checktoken POST
Check a token for a group id, and accept or decline the invite

`POST /api/groups/checktoken`

## Headers

- `Authorization` string
- `Content-Type` string
- `Accept` string

## Request body

- object
  - `token` string, required
  - `group_id` string, required
  - `decline` boolean

## Changes

- **2022-06-10** `568ca15f3476` — 1 warning
  - deleted the `header` request parameter `Accept-language`

[Change history](https://skmtc.dev/beepnl/apis/beep/changes/api/groups/checktoken/post.md)

---

[API](https://skmtc.dev/beepnl/apis/beep.md) · [All operations](https://skmtc.dev/beepnl/apis/beep/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/beepnl/beep/revisions/568ca15f3476/schema)
