Users: get

  • The v2.0 JSON API will be discontinued on September 30th, 2024, and applications using it should be updated to the latest API version.

  • This API retrieves a single user by their userId but requires authorization and only allows retrieving the authenticated user's information.

  • The userId parameter can be either the numeric user identifier or "self".

  • Authorization requires specific scopes like https://www.googleapis.com/auth/blogger or https://www.blogger.com/feeds/.

  • Successful requests return a Users resource in the response body.

Important: We will discontinue support for the v2.0 JSON API on September 30th, 2024. To ensure continued functionality, update your applications that rely on the v2.0 JSON API to the latest API version. For the latest version, use the links in the left-side navbar.

Requires authorization

Retrieves one user by userId. Try it now.

Authentication is required. Retrieving a user other than the authenticated user is not allowed. The argument userId may be either the numeric user identifier or self.

Request

HTTP Request

GET https://www.googleapis.com/blogger/v2/users/userId

Parameters

Parameter Name Value Description
Required Parameters
userId string The ID of the user to get.

Authorization

This request requires authorization with at least one of the following scopes (/blogger/docs/2.0/json/getting_started">read more about authentication and authorization).

Scope
https://www.googleapis.com/auth/blogger
https://www.blogger.com/feeds/

Request Body

Do not supply a request body with this method.

Response

If successful, this method returns an Users resource in the response body.

Try It!

Use the explorer below to call this method on live data and see the response.