# Auth ## Authenticate - [POST /v3/auth/web](https://rui-api.redocly.app/v3_api_redocly/auth/paths/~1v3~1auth~1web/post.md): Before being able to request any data, one needs to authenticate with the API. If authentication is not done, further requests will be rejected and 401 error code will be returned. NOTE: If you encounter “Cookie Missing” error, retry the request you should be able to authenticate. ## Logout - [POST /v3/auth/logout](https://rui-api.redocly.app/v3_api_redocly/auth/paths/~1v3~1auth~1logout/post.md): In order to log out, it is required to invalidate the user session that was created when logging in. If cookies are being used, the cookie will also be invalidated. Two options for logging out are being offered - either invalidate a single session or else, invalidate all sessions that are active on your user ID.