--- title: "Authentication" slug: "auth-api" updated: 2026-02-16T08:42:12Z published: 2026-02-16T08:42:12Z canonical: "developer.rocket.chat/auth-api" --- > ## Documentation Index > Fetch the complete documentation index at: https://developer.rocket.chat/llms.txt > Use this file to discover all available pages before exploring further. # Authentication Rocket.Chat provides authentication endpoints that enable users to sign in to a workspace using either a username and password or supported third-party identity providers such as Google and Facebook. A successful login response returns the following: - `user-id` : The unique identifier for the authenticated user. - `authToken` : A temporary authentication token. - Basic user details: Additional information associated with the user account. To make authenticated API requests, include these headers with every request: - `x-user-id` : The authenticated user’s ID. - `x-auth-token` : The temporary authentication token issued during login. > [!NOTE] > For additional details, see the [**Authentication API**](https://developer.rocket.chat/v1-api/apidocs/authentication-api) documentation.