Authentication mock
Simulate authenticated endpoints and access failures.
Checking this session…
Import / export configuration
Up to 20 routes, 80 KiB total configuration, and 120 requests per minute. Paths support parameters such as /users/:id. Matching routes are checked in order.
Open an existing mock API
About Authentication mock
Test a protected route with a fake bearer token and a configurable unauthorized fallback.
When to use it
Test a protected route with a fake bearer token and a configurable unauthorized fallback.
Authorization: Bearer test-token → 200; other values → 401How to use it
- Configure the endpoint and choose private or public access.
- Create it and send requests from your client.
- Inspect test output, update or delete the resource when finished.
Limits & privacy
Uses an expiring mock resource, private by default, with separate management and access credentials. Public access is optional. Standard resource quotas, ownership, renewal and deletion apply. Private access tokens are sent in headers, never in share URLs. The test token is stored in the mock configuration. Use fake credentials. Private sharing additionally requires X-Access-Token; public sharing removes only that outer access check. This is not an identity provider.
Use this tool from the API reference or connect through the SDK, CLI, SSH, or MCP. Hosted calls share your plan allowances.