users

This endpoint allows the client to retrieve a single user, either by id or by the user's username.

Path Parameter Options:

  • id: Can be either the user's unique numerical ID (e.g. 123) OR the user's string username (e.g. ben).
  • Note that the returned user object schema (ExtendedUser) includes extended profile statistics and social link details.
get/api/users/{id}

Request

  • Base URL
    https://dev.to
  • Auth
    none required

Path parameters

idstring required

The user's unique numerical ID or string username.

Response

successful

object required

Changes

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • breaking

      the response property / became nullable for the status

    • breaking

      the response property / became nullable for the status

    • breaking

      the response property / became nullable for the status

    • breaking

      the / response's property type changed from string to integer, and format from no format to int64 for status