---
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
- `Accept-language` string

## Request body

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

## Changes

> 15 revisions in range; 1 could not be searched.

- **2022-06-20** `a87569f002e1` — 1 info
  - added the new optional `header` request parameter `Accept-language`
- **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/7f1e35deb524/schema)
