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: "33b1c1ae645fb59874714b659c7be1b0"
Content-Type: application/json; charset=utf-8
Cache-Control: max-age=0, private, must-revalidate
Content-Length: 11489

Body

{
  "user": {
    "id": 569,
    "created_at": "2017-09-14T06:02:45.170-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://abs.twimg.com/sticky/default_profile_images/default_profile_4_normal.png",
      "32px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4_normal.png",
      "40px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4_normal.png",
      "44px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4_normal.png",
      "48px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4_normal.png",
      "50px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4_bigger.png",
      "60px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4_bigger.png",
      "64px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4_bigger.png",
      "73px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4_bigger.png",
      "80px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
      "88px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
      "96px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
      "100px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
      "110px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
      "120px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
      "132px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
      "146px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
      "160px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
      "176px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
      "220px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
      "264px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
      "32px@2X": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4_bigger.png",
      "40px@2X": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
      "44px@2X": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
      "88px@2X": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
      "32px@3X": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
      "40px@3X": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
      "44px@3X": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
      "88px@3X": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
      "original": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png"
    },
    "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-09-14T06:02:45.255-07:00",
        "user_id": 569,
        "post_id": 71,
        "post": {
          "comments_count": 0,
          "day": "2017-09-14",
          "id": 71,
          "name": "Awesome Idea #165",
          "product_state": "default",
          "tagline": "Great new search engine",
          "ios_featured_at": null,
          "category_id": null,
          "created_at": "2017-09-14T06:02:45.208-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\u0026utm_medium=api\u0026utm_source=Application%3A+Awesome+Oauth+App+%23115+%28ID%3A+65%29",
          "exclusive": null,
          "featured": true,
          "maker_inside": false,
          "makers": [],
          "platforms": [],
          "redirect_url": "http://www.producthunt.com/r/1dbe599a04ae4d/71?app_id=65",
          "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/cbbd4b80-1d12-4379-b0d7-939d0c8d0024?auto=format\u0026fit=crop\u0026h=570\u0026w=430",
            "metadata": {}
          },
          "topics": [],
          "user": {
            "id": 570,
            "created_at": "2017-09-14T06:02:45.181-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://abs.twimg.com/sticky/default_profile_images/default_profile_4_normal.png",
              "32px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4_normal.png",
              "40px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4_normal.png",
              "44px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4_normal.png",
              "48px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4_normal.png",
              "50px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4_bigger.png",
              "60px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4_bigger.png",
              "64px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4_bigger.png",
              "73px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4_bigger.png",
              "80px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
              "88px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
              "96px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
              "100px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
              "110px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
              "120px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
              "132px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
              "146px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
              "160px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
              "176px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
              "220px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
              "264px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
              "32px@2X": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4_bigger.png",
              "40px@2X": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
              "44px@2X": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
              "88px@2X": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
              "32px@3X": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
              "40px@3X": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
              "44px@3X": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
              "88px@3X": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
              "original": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png"
            }
          },
          "votes_count": 1
        }
      },
      {
        "id": 64,
        "created_at": "2017-09-14T06:02:45.344-07:00",
        "user_id": 569,
        "post_id": 72,
        "post": {
          "comments_count": 0,
          "day": "2017-09-14",
          "id": 72,
          "name": "Awesome Idea #166",
          "product_state": "default",
          "tagline": "Great new search engine",
          "ios_featured_at": null,
          "category_id": null,
          "created_at": "2017-09-14T06:02:45.295-07:00",
          "current_user": {
            "voted_for_post": true,
            "commented_on_post": false
          },
          "discussion_url": "http://www.producthunt.com/posts/awesome-idea-166?utm_campaign=producthunt-api\u0026utm_medium=api\u0026utm_source=Application%3A+Awesome+Oauth+App+%23115+%28ID%3A+65%29",
          "exclusive": null,
          "featured": true,
          "maker_inside": false,
          "makers": [],
          "platforms": [],
          "redirect_url": "http://www.producthunt.com/r/4213ac62bf0ad2/72?app_id=65",
          "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/5cc6d6b8-6ecb-4ca5-938d-38db68106d0a?auto=format\u0026fit=crop\u0026h=570\u0026w=430",
            "metadata": {}
          },
          "topics": [],
          "user": {
            "id": 573,
            "created_at": "2017-09-14T06:02:45.273-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://abs.twimg.com/sticky/default_profile_images/default_profile_4_normal.png",
              "32px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4_normal.png",
              "40px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4_normal.png",
              "44px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4_normal.png",
              "48px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4_normal.png",
              "50px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4_bigger.png",
              "60px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4_bigger.png",
              "64px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4_bigger.png",
              "73px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4_bigger.png",
              "80px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
              "88px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
              "96px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
              "100px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
              "110px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
              "120px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
              "132px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
              "146px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
              "160px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
              "176px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
              "220px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
              "264px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
              "32px@2X": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4_bigger.png",
              "40px@2X": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
              "44px@2X": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
              "88px@2X": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
              "32px@3X": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
              "40px@3X": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
              "44px@3X": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
              "88px@3X": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
              "original": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png"
            }
          },
          "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
  }
}