Settings

settings#show - Get your own details

Parameters

Name Description
exclude Option to exclude certain values from the request. Options - "relationships"

Request

Route

GET /v1/me

Headers

Accept: application/json
Content-Type: application/json
Authorization: Bearer your_access_token
Host: api.producthunt.com

Response

Status

200 OK

Headers

X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
X-Rate-Limit-Limit: 900
X-Rate-Limit-Remaining: 900
X-Rate-Limit-Reset: 900
ETag: "e292608805cb57b49ed798d8bb701de3"
Content-Type: application/json; charset=utf-8
Cache-Control: max-age=0, private, must-revalidate
Content-Length: 12917

Body

{
  "user" : {
    "id" : 572,
    "created_at" : "2017-07-13T13:32:06.636-07:00",
    "name" : "Karl User the 1059th",
    "username" : "producthunter1055",
    "headline" : "Product Hunter",
    "twitter_username" : "hunter1059",
    "website_url" : "http://awesome.io",
    "profile_url" : "http://www.producthunt.com/@producthunter1055",
    "image_url" : {
      "30px" : "https://avatars-cdn.producthunt.com/572/original?auto=format&fit=crop&crop=faces&w=30&h=30",
      "32px" : "https://avatars-cdn.producthunt.com/572/original?auto=format&fit=crop&crop=faces&w=32&h=32",
      "40px" : "https://avatars-cdn.producthunt.com/572/original?auto=format&fit=crop&crop=faces&w=40&h=40",
      "44px" : "https://avatars-cdn.producthunt.com/572/original?auto=format&fit=crop&crop=faces&w=44&h=44",
      "48px" : "https://avatars-cdn.producthunt.com/572/original?auto=format&fit=crop&crop=faces&w=48&h=48",
      "50px" : "https://avatars-cdn.producthunt.com/572/original?auto=format&fit=crop&crop=faces&w=50&h=50",
      "60px" : "https://avatars-cdn.producthunt.com/572/original?auto=format&fit=crop&crop=faces&w=60&h=60",
      "64px" : "https://avatars-cdn.producthunt.com/572/original?auto=format&fit=crop&crop=faces&w=64&h=64",
      "73px" : "https://avatars-cdn.producthunt.com/572/original?auto=format&fit=crop&crop=faces&w=73&h=73",
      "80px" : "https://avatars-cdn.producthunt.com/572/original?auto=format&fit=crop&crop=faces&w=80&h=80",
      "88px" : "https://avatars-cdn.producthunt.com/572/original?auto=format&fit=crop&crop=faces&w=88&h=88",
      "96px" : "https://avatars-cdn.producthunt.com/572/original?auto=format&fit=crop&crop=faces&w=96&h=96",
      "100px" : "https://avatars-cdn.producthunt.com/572/original?auto=format&fit=crop&crop=faces&w=100&h=100",
      "110px" : "https://avatars-cdn.producthunt.com/572/original?auto=format&fit=crop&crop=faces&w=110&h=110",
      "120px" : "https://avatars-cdn.producthunt.com/572/original?auto=format&fit=crop&crop=faces&w=120&h=120",
      "132px" : "https://avatars-cdn.producthunt.com/572/original?auto=format&fit=crop&crop=faces&w=132&h=132",
      "146px" : "https://avatars-cdn.producthunt.com/572/original?auto=format&fit=crop&crop=faces&w=146&h=146",
      "160px" : "https://avatars-cdn.producthunt.com/572/original?auto=format&fit=crop&crop=faces&w=160&h=160",
      "176px" : "https://avatars-cdn.producthunt.com/572/original?auto=format&fit=crop&crop=faces&w=176&h=176",
      "220px" : "https://avatars-cdn.producthunt.com/572/original?auto=format&fit=crop&crop=faces&w=220&h=220",
      "264px" : "https://avatars-cdn.producthunt.com/572/original?auto=format&fit=crop&crop=faces&w=264&h=264",
      "32px@2X" : "https://avatars-cdn.producthunt.com/572/original?auto=format&fit=crop&crop=faces&w=64&h=64",
      "40px@2X" : "https://avatars-cdn.producthunt.com/572/original?auto=format&fit=crop&crop=faces&w=80&h=80",
      "44px@2X" : "https://avatars-cdn.producthunt.com/572/original?auto=format&fit=crop&crop=faces&w=88&h=88",
      "88px@2X" : "https://avatars-cdn.producthunt.com/572/original?auto=format&fit=crop&crop=faces&w=176&h=176",
      "32px@3X" : "https://avatars-cdn.producthunt.com/572/original?auto=format&fit=crop&crop=faces&w=96&h=96",
      "40px@3X" : "https://avatars-cdn.producthunt.com/572/original?auto=format&fit=crop&crop=faces&w=120&h=120",
      "44px@3X" : "https://avatars-cdn.producthunt.com/572/original?auto=format&fit=crop&crop=faces&w=132&h=132",
      "88px@3X" : "https://avatars-cdn.producthunt.com/572/original?auto=format&fit=crop&crop=faces&w=264&h=264",
      "original" : "https://avatars-cdn.producthunt.com/572/original?auto=format&fit=crop&crop=faces&w=original&h=original"
    },
    "collections_count" : 0,
    "followed_topics_count" : 0,
    "followers" : [],
    "followers_count" : 0,
    "followings" : [],
    "followings_count" : 0,
    "header_image_url" : null,
    "maker_of" : [],
    "maker_of_count" : 0,
    "posts" : [],
    "posts_count" : 0,
    "votes" : [
      {
        "id" : 63,
        "created_at" : "2017-07-13T13:32:06.698-07:00",
        "user_id" : 572,
        "post_id" : 71,
        "post" : {
          "category_id" : 1,
          "comments_count" : 0,
          "day" : "2017-07-13",
          "id" : 71,
          "name" : "Awesome Idea #164",
          "product_state" : "default",
          "tagline" : "Great new search engine",
          "ios_featured_at" : null,
          "created_at" : "2017-07-13T13:32:06.660-07:00",
          "current_user" : {
            "voted_for_post" : true,
            "commented_on_post" : false
          },
          "discussion_url" : "http://www.producthunt.com/posts/awesome-idea-164?utm_campaign=producthunt-api&utm_medium=api&utm_source=Application%3A+Awesome+Oauth+App+%23116+%28ID%3A+66%29",
          "exclusive" : null,
          "featured" : true,
          "maker_inside" : false,
          "makers" : [],
          "platforms" : [],
          "topics" : [],
          "redirect_url" : "http://www.producthunt.com/r/835040366f4eb1/71?app_id=66",
          "screenshot_url" : {
            "300px" : "http://placehold.it/850x850.png",
            "850px" : "http://placehold.it/850x850.png"
          },
          "thumbnail" : {
            "id" : 71,
            "media_type" : "image",
            "image_url" : "https://ph-files.imgix.net/9932f3bd-2d6e-4749-afd1-ce8e7584b7f1?auto=format&fit=crop&h=570&w=430",
            "metadata" : {}
          },
          "user" : {
            "id" : 573,
            "created_at" : "2017-07-13T13:32:06.642-07:00",
            "name" : "Karl User the 1060th",
            "username" : "producthunter1056",
            "headline" : "Product Hunter",
            "twitter_username" : "hunter1060",
            "website_url" : "http://awesome.io",
            "profile_url" : "http://www.producthunt.com/@producthunter1056",
            "image_url" : {
              "30px" : "https://avatars-cdn.producthunt.com/573/original?auto=format&fit=crop&crop=faces&w=30&h=30",
              "32px" : "https://avatars-cdn.producthunt.com/573/original?auto=format&fit=crop&crop=faces&w=32&h=32",
              "40px" : "https://avatars-cdn.producthunt.com/573/original?auto=format&fit=crop&crop=faces&w=40&h=40",
              "44px" : "https://avatars-cdn.producthunt.com/573/original?auto=format&fit=crop&crop=faces&w=44&h=44",
              "48px" : "https://avatars-cdn.producthunt.com/573/original?auto=format&fit=crop&crop=faces&w=48&h=48",
              "50px" : "https://avatars-cdn.producthunt.com/573/original?auto=format&fit=crop&crop=faces&w=50&h=50",
              "60px" : "https://avatars-cdn.producthunt.com/573/original?auto=format&fit=crop&crop=faces&w=60&h=60",
              "64px" : "https://avatars-cdn.producthunt.com/573/original?auto=format&fit=crop&crop=faces&w=64&h=64",
              "73px" : "https://avatars-cdn.producthunt.com/573/original?auto=format&fit=crop&crop=faces&w=73&h=73",
              "80px" : "https://avatars-cdn.producthunt.com/573/original?auto=format&fit=crop&crop=faces&w=80&h=80",
              "88px" : "https://avatars-cdn.producthunt.com/573/original?auto=format&fit=crop&crop=faces&w=88&h=88",
              "96px" : "https://avatars-cdn.producthunt.com/573/original?auto=format&fit=crop&crop=faces&w=96&h=96",
              "100px" : "https://avatars-cdn.producthunt.com/573/original?auto=format&fit=crop&crop=faces&w=100&h=100",
              "110px" : "https://avatars-cdn.producthunt.com/573/original?auto=format&fit=crop&crop=faces&w=110&h=110",
              "120px" : "https://avatars-cdn.producthunt.com/573/original?auto=format&fit=crop&crop=faces&w=120&h=120",
              "132px" : "https://avatars-cdn.producthunt.com/573/original?auto=format&fit=crop&crop=faces&w=132&h=132",
              "146px" : "https://avatars-cdn.producthunt.com/573/original?auto=format&fit=crop&crop=faces&w=146&h=146",
              "160px" : "https://avatars-cdn.producthunt.com/573/original?auto=format&fit=crop&crop=faces&w=160&h=160",
              "176px" : "https://avatars-cdn.producthunt.com/573/original?auto=format&fit=crop&crop=faces&w=176&h=176",
              "220px" : "https://avatars-cdn.producthunt.com/573/original?auto=format&fit=crop&crop=faces&w=220&h=220",
              "264px" : "https://avatars-cdn.producthunt.com/573/original?auto=format&fit=crop&crop=faces&w=264&h=264",
              "32px@2X" : "https://avatars-cdn.producthunt.com/573/original?auto=format&fit=crop&crop=faces&w=64&h=64",
              "40px@2X" : "https://avatars-cdn.producthunt.com/573/original?auto=format&fit=crop&crop=faces&w=80&h=80",
              "44px@2X" : "https://avatars-cdn.producthunt.com/573/original?auto=format&fit=crop&crop=faces&w=88&h=88",
              "88px@2X" : "https://avatars-cdn.producthunt.com/573/original?auto=format&fit=crop&crop=faces&w=176&h=176",
              "32px@3X" : "https://avatars-cdn.producthunt.com/573/original?auto=format&fit=crop&crop=faces&w=96&h=96",
              "40px@3X" : "https://avatars-cdn.producthunt.com/573/original?auto=format&fit=crop&crop=faces&w=120&h=120",
              "44px@3X" : "https://avatars-cdn.producthunt.com/573/original?auto=format&fit=crop&crop=faces&w=132&h=132",
              "88px@3X" : "https://avatars-cdn.producthunt.com/573/original?auto=format&fit=crop&crop=faces&w=264&h=264",
              "original" : "https://avatars-cdn.producthunt.com/573/original?auto=format&fit=crop&crop=faces&w=original&h=original"
            }
          },
          "votes_count" : 1
        }
      },
      {
        "id" : 64,
        "created_at" : "2017-07-13T13:32:06.763-07:00",
        "user_id" : 572,
        "post_id" : 72,
        "post" : {
          "category_id" : 1,
          "comments_count" : 0,
          "day" : "2017-07-13",
          "id" : 72,
          "name" : "Awesome Idea #165",
          "product_state" : "default",
          "tagline" : "Great new search engine",
          "ios_featured_at" : null,
          "created_at" : "2017-07-13T13:32:06.728-07:00",
          "current_user" : {
            "voted_for_post" : true,
            "commented_on_post" : false
          },
          "discussion_url" : "http://www.producthunt.com/posts/awesome-idea-165?utm_campaign=producthunt-api&utm_medium=api&utm_source=Application%3A+Awesome+Oauth+App+%23116+%28ID%3A+66%29",
          "exclusive" : null,
          "featured" : true,
          "maker_inside" : false,
          "makers" : [],
          "platforms" : [],
          "topics" : [],
          "redirect_url" : "http://www.producthunt.com/r/57cbaed99d398e/72?app_id=66",
          "screenshot_url" : {
            "300px" : "http://placehold.it/850x850.png",
            "850px" : "http://placehold.it/850x850.png"
          },
          "thumbnail" : {
            "id" : 72,
            "media_type" : "image",
            "image_url" : "https://ph-files.imgix.net/97b0bb1d-2fca-4433-aff4-1bcde3efb7c7?auto=format&fit=crop&h=570&w=430",
            "metadata" : {}
          },
          "user" : {
            "id" : 576,
            "created_at" : "2017-07-13T13:32:06.711-07:00",
            "name" : "Karl User the 1063th",
            "username" : "producthunter1059",
            "headline" : "Product Hunter",
            "twitter_username" : "hunter1063",
            "website_url" : "http://awesome.io",
            "profile_url" : "http://www.producthunt.com/@producthunter1059",
            "image_url" : {
              "30px" : "https://avatars-cdn.producthunt.com/576/original?auto=format&fit=crop&crop=faces&w=30&h=30",
              "32px" : "https://avatars-cdn.producthunt.com/576/original?auto=format&fit=crop&crop=faces&w=32&h=32",
              "40px" : "https://avatars-cdn.producthunt.com/576/original?auto=format&fit=crop&crop=faces&w=40&h=40",
              "44px" : "https://avatars-cdn.producthunt.com/576/original?auto=format&fit=crop&crop=faces&w=44&h=44",
              "48px" : "https://avatars-cdn.producthunt.com/576/original?auto=format&fit=crop&crop=faces&w=48&h=48",
              "50px" : "https://avatars-cdn.producthunt.com/576/original?auto=format&fit=crop&crop=faces&w=50&h=50",
              "60px" : "https://avatars-cdn.producthunt.com/576/original?auto=format&fit=crop&crop=faces&w=60&h=60",
              "64px" : "https://avatars-cdn.producthunt.com/576/original?auto=format&fit=crop&crop=faces&w=64&h=64",
              "73px" : "https://avatars-cdn.producthunt.com/576/original?auto=format&fit=crop&crop=faces&w=73&h=73",
              "80px" : "https://avatars-cdn.producthunt.com/576/original?auto=format&fit=crop&crop=faces&w=80&h=80",
              "88px" : "https://avatars-cdn.producthunt.com/576/original?auto=format&fit=crop&crop=faces&w=88&h=88",
              "96px" : "https://avatars-cdn.producthunt.com/576/original?auto=format&fit=crop&crop=faces&w=96&h=96",
              "100px" : "https://avatars-cdn.producthunt.com/576/original?auto=format&fit=crop&crop=faces&w=100&h=100",
              "110px" : "https://avatars-cdn.producthunt.com/576/original?auto=format&fit=crop&crop=faces&w=110&h=110",
              "120px" : "https://avatars-cdn.producthunt.com/576/original?auto=format&fit=crop&crop=faces&w=120&h=120",
              "132px" : "https://avatars-cdn.producthunt.com/576/original?auto=format&fit=crop&crop=faces&w=132&h=132",
              "146px" : "https://avatars-cdn.producthunt.com/576/original?auto=format&fit=crop&crop=faces&w=146&h=146",
              "160px" : "https://avatars-cdn.producthunt.com/576/original?auto=format&fit=crop&crop=faces&w=160&h=160",
              "176px" : "https://avatars-cdn.producthunt.com/576/original?auto=format&fit=crop&crop=faces&w=176&h=176",
              "220px" : "https://avatars-cdn.producthunt.com/576/original?auto=format&fit=crop&crop=faces&w=220&h=220",
              "264px" : "https://avatars-cdn.producthunt.com/576/original?auto=format&fit=crop&crop=faces&w=264&h=264",
              "32px@2X" : "https://avatars-cdn.producthunt.com/576/original?auto=format&fit=crop&crop=faces&w=64&h=64",
              "40px@2X" : "https://avatars-cdn.producthunt.com/576/original?auto=format&fit=crop&crop=faces&w=80&h=80",
              "44px@2X" : "https://avatars-cdn.producthunt.com/576/original?auto=format&fit=crop&crop=faces&w=88&h=88",
              "88px@2X" : "https://avatars-cdn.producthunt.com/576/original?auto=format&fit=crop&crop=faces&w=176&h=176",
              "32px@3X" : "https://avatars-cdn.producthunt.com/576/original?auto=format&fit=crop&crop=faces&w=96&h=96",
              "40px@3X" : "https://avatars-cdn.producthunt.com/576/original?auto=format&fit=crop&crop=faces&w=120&h=120",
              "44px@3X" : "https://avatars-cdn.producthunt.com/576/original?auto=format&fit=crop&crop=faces&w=132&h=132",
              "88px@3X" : "https://avatars-cdn.producthunt.com/576/original?auto=format&fit=crop&crop=faces&w=264&h=264",
              "original" : "https://avatars-cdn.producthunt.com/576/original?auto=format&fit=crop&crop=faces&w=original&h=original"
            }
          },
          "votes_count" : 1
        }
      }
    ],
    "votes_count" : 2,
    "permissions" : {
      "can_vote_posts" : true,
      "can_comment" : false,
      "can_post" : false,
      "can_change_username" : true
    },
    "notifications" : {
      "total" : 0,
      "unseen" : 0
    },
    "first_time_user" : false,
    "email" : null,
    "role" : "user",
    "send_mention_email" : true,
    "send_mention_push" : true,
    "send_friend_post_email" : true,
    "send_friend_post_push" : true,
    "send_new_follower_email" : true,
    "send_new_follower_push" : true,
    "send_announcement_email" : true,
    "send_announcement_push" : true,
    "send_product_recommendation_email" : true,
    "send_product_recommendation_push" : true,
    "subscribed_to_push" : false,
    "send_email_digest_email" : true
  }
}