API Documentation

users/details Beta

This method is currently under development and subject to change.

Returns details of a user.

URL

https://disqus.com/api/3.0/users/details.json

Accessibility

public key, secret key

Supported request methods

GET

Supported formats

json, jsonp

Requires authentication

no

Rate limited

inherits global rate limit

Arguments

Optional

  • attach allows multiple

    Defaults to []

    Choices: userFlaggedUser

  • user

    Defaults to null

    Looks up a user by ID
    You may look up a user by username using the 'username' query type.

Example Responses

Expand json

GET

Get the details of the authenticated user.

{
  "code":0,
  "response":{
    "username":"disqus_api",
    "about":"",
    "name":"disqus_api",
    "url":"",
    "isFollowing":false,
    "isFollowedBy":false,
    "profileUrl":"http://disqus.com/disqus_api/",
    "avatar":{
      "permalink":"http://disqus.com/api/users/avatars/disqus_api.jpg",
      "cache":"http://mediacdn.disqus.com/1091/images/noavatar92.png"
    },
    "id":"1",
    "isAnonymous":false,
    "email":"example@disqus.com"
  }
}
Expand json

GET user=1

{
  "code":0,
  "response":{
    "username":"disqus_api",
    "about":"",
    "name":"disqus_api",
    "url":"",
    "isFollowing":false,
    "isFollowedBy":false,
    "profileUrl":"http://disqus.com/disqus_api/",
    "avatar":{
      "permalink":"http://disqus.com/api/users/avatars/disqus_api.jpg",
      "cache":"http://mediacdn.disqus.com/1091/images/noavatar92.png"
    },
    "id":"1",
    "isAnonymous":false,
    "email":"example@disqus.com"
  }
}