Skip to content
MatrixRewards
API docs menu

forbidden_scope

Status 403. This key does not carry the scope this call needs.

What it means

The key does not have the permission this call needs. required_scope names it and key_scopes lists the permissions the key has.

What to do

A key's permissions are fixed when it is made. Make a new key with the permission on the API keys screen in the app, and revoke the old one if nothing needs it.

Safe to send again?

Not as it is. Change what the answer points to, then send the request.

What else the answer carries

  • required_scope: A scope a key can hold. This list is exactly the scopes some operation checks. write_members covers the two writes (changing a member's points, cancelling a reward code) and also covers read_members. The self-revoke needs no scope. write_webhooks covers the webhook endpoints — listing, creating, deleting and testing them — and a key for an AI assistant can never hold it. write_programme covers changing the programme (POST /stores/{store_key}/programme); a key for an assistant may hold it, and must preview each change and send back its confirmation.
  • key_scopes: Every scope this key holds.

Where you can meet it

Every code, and the shape of an error answer: Errors.

Last updated: 10 October 2026