HTTP 403 Forbidden

The server knows who you are and is refusing anyway. Authentication succeeded; authorization did not.

Why you would test it

The 401-versus-403 distinction is the single most common auth bug. Test the same endpoint with no token, a valid read-only token and an admin token, and assert all three.

Endpoints that return 403

22 endpoints in this playground answer with 403. Every one is free, needs no signup, and can be called from the browser or with curl.

Other client error codes

All HTTP status codes · All 37 mock REST APIs · Getting started guide