---
title: "API Key (Discourse)"
description: "A secret created by an administrator in the admin panel, sent together with a user name to act on the forum as that user."
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/datamodels/discourse/glossary/api-key
original: https://documentation.invantive.eu/en/datamodels/discourse/glossary/api-key
updated: 2026-11-01T16:08:49Z
license: https://documentation.invantive.eu/en/
---

# API Key

A secret created by an administrator in the admin panel, sent together with a user name to act on the forum as that user.

Discourse authenticates a request by two headers: the key and the user name the request acts as. A key can be tied to one user or be valid for all users, in which case the user name chooses whose rights apply; keys can also be limited to certain scopes. Whatever the request reads or changes follows the rights of that user, so a key acting as a regular member sees only what that member may see, while the administration data needs an administrator. Some public pages need no key at all.

## Glossary

- [Site](glossary/site)
- API Key
- [Category](glossary/category)
- [Topic](glossary/topic)
- [Post](glossary/post)
- [Topic Status](glossary/topic-status)
- [Private Message](glossary/private-message)
- [Post Action](glossary/post-action)
- [User](glossary/user)
- [Trust Level](glossary/trust-level)
- [Staff](glossary/staff)
- [Suspension and Silencing](glossary/suspension-and-silencing)
- [Group](glossary/group)
- [Badge](glossary/badge)
- [Tag](glossary/tag)
- [Tag Group](glossary/tag-group)
- [Notification Level](glossary/notification-level)
- [Notification](glossary/notification)
- [User Action](glossary/user-action)
- [Directory](glossary/directory)
- [Top Topics](glossary/top-topics)
- [Site Setting](glossary/site-setting)
- [Plugin](glossary/plugin)
- [Backup](glossary/backup)



## Release Notes

What changed per release in the tables, columns, attributes and capabilities of the driver:

- [Discourse](/en/release-notes/drivers/discourse)

