API V1 is deprecated, Check out new API V2 here

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-pyPCaEzQjfvsJBQ
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: W/"733f05b57545b31daf9ff79195646cc1"
Last-Modified: Wed, 05 May 2021 11:39:23 GMT
Content-Type: application/json; charset=utf-8
Cache-Control: max-age=0, private, must-revalidate
Content-Length: 11582

Body

{
  "user": {
    "id": 10480,
    "created_at": "2021-05-05T04:39:23.856-07:00",
    "name": "Karl User the 1008th",
    "username": "producthunter1004",
    "headline": "Product Hunter",
    "twitter_username": "hunter1008",
    "website_url": "http://awesome.io",
    "profile_url": "http://www.producthunt.com/@producthunter1004",
    "image_url": {
      "30px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
      "32px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
      "40px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
      "44px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
      "48px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
      "50px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
      "60px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
      "64px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
      "73px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
      "80px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
      "88px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
      "96px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
      "100px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
      "110px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
      "120px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
      "132px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
      "146px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
      "160px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
      "176px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
      "220px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
      "264px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
      "32px@2X": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
      "40px@2X": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
      "44px@2X": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
      "88px@2X": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
      "32px@3X": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
      "40px@3X": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
      "44px@3X": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
      "88px@3X": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
      "original": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress"
    },
    "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": 1334,
        "created_at": "2021-05-05T04:39:23.911-07:00",
        "user_id": 10480,
        "post_id": 1571,
        "post": {
          "comments_count": 0,
          "id": 1571,
          "name": "Awesome Idea #162",
          "product_state": "default",
          "tagline": "Great new search engine",
          "slug": "awesome-idea-162",
          "votes_count": 1,
          "day": "2021-05-05",
          "category_id": null,
          "created_at": "2021-05-05T04:39:23.889-07:00",
          "current_user": {
            "voted_for_post": true,
            "commented_on_post": false
          },
          "discussion_url": "http://www.producthunt.com/posts/awesome-idea-162?utm_campaign=producthunt-api\u0026utm_medium=api\u0026utm_source=Application%3A+Awesome+Oauth+App+%23110+%28ID%3A+1300%29",
          "exclusive": null,
          "featured": true,
          "ios_featured_at": false,
          "maker_inside": false,
          "makers": [],
          "platforms": [],
          "redirect_url": "http://www.producthunt.com/r/4eea926e8ed9fd/1571?app_id=1300",
          "screenshot_url": {
            "300px": "http://placehold.it/850x850.png",
            "850px": "http://placehold.it/850x850.png"
          },
          "thumbnail": {
            "id": 1627,
            "media_type": "image",
            "image_url": "https://ph-files.imgix.net/27899078-1202-4999-a85b-845f02146a87?auto=format\u0026fit=crop\u0026h=570\u0026w=430",
            "metadata": {}
          },
          "topics": [],
          "user": {
            "id": 10481,
            "created_at": "2021-05-05T04:39:23.866-07:00",
            "name": "Karl User the 1009th",
            "username": "producthunter1005",
            "headline": "Product Hunter",
            "twitter_username": "hunter1009",
            "website_url": "http://awesome.io",
            "profile_url": "http://www.producthunt.com/@producthunter1005",
            "image_url": {
              "30px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
              "32px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
              "40px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
              "44px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
              "48px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
              "50px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
              "60px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
              "64px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
              "73px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
              "80px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
              "88px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
              "96px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
              "100px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
              "110px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
              "120px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
              "132px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
              "146px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
              "160px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
              "176px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
              "220px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
              "264px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
              "32px@2X": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
              "40px@2X": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
              "44px@2X": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
              "88px@2X": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
              "32px@3X": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
              "40px@3X": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
              "44px@3X": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
              "88px@3X": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
              "original": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress"
            }
          }
        }
      },
      {
        "id": 1335,
        "created_at": "2021-05-05T04:39:23.964-07:00",
        "user_id": 10480,
        "post_id": 1572,
        "post": {
          "comments_count": 0,
          "id": 1572,
          "name": "Awesome Idea #163",
          "product_state": "default",
          "tagline": "Great new search engine",
          "slug": "awesome-idea-163",
          "votes_count": 1,
          "day": "2021-05-05",
          "category_id": null,
          "created_at": "2021-05-05T04:39:23.942-07:00",
          "current_user": {
            "voted_for_post": true,
            "commented_on_post": false
          },
          "discussion_url": "http://www.producthunt.com/posts/awesome-idea-163?utm_campaign=producthunt-api\u0026utm_medium=api\u0026utm_source=Application%3A+Awesome+Oauth+App+%23110+%28ID%3A+1300%29",
          "exclusive": null,
          "featured": true,
          "ios_featured_at": false,
          "maker_inside": false,
          "makers": [],
          "platforms": [],
          "redirect_url": "http://www.producthunt.com/r/935b6b94e346d6/1572?app_id=1300",
          "screenshot_url": {
            "300px": "http://placehold.it/850x850.png",
            "850px": "http://placehold.it/850x850.png"
          },
          "thumbnail": {
            "id": 1628,
            "media_type": "image",
            "image_url": "https://ph-files.imgix.net/f78065c1-aa67-4378-a11c-74261b13ca1d?auto=format\u0026fit=crop\u0026h=570\u0026w=430",
            "metadata": {}
          },
          "topics": [],
          "user": {
            "id": 10484,
            "created_at": "2021-05-05T04:39:23.920-07:00",
            "name": "Karl User the 1012th",
            "username": "producthunter1008",
            "headline": "Product Hunter",
            "twitter_username": "hunter1012",
            "website_url": "http://awesome.io",
            "profile_url": "http://www.producthunt.com/@producthunter1008",
            "image_url": {
              "30px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
              "32px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
              "40px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
              "44px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
              "48px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
              "50px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
              "60px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
              "64px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
              "73px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
              "80px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
              "88px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
              "96px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
              "100px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
              "110px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
              "120px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
              "132px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
              "146px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
              "160px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
              "176px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
              "220px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
              "264px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
              "32px@2X": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
              "40px@2X": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
              "44px@2X": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
              "88px@2X": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
              "32px@3X": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
              "40px@3X": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
              "44px@3X": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
              "88px@3X": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
              "original": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress"
            }
          }
        }
      }
    ],
    "votes_count": 2,
    "permissions": {
      "can_vote_posts": true,
      "can_comment": true,
      "can_post": false,
      "can_change_username": true
    },
    "notifications": {
      "total": 0,
      "unseen": 0
    },
    "first_time_user": false,
    "email": "subscriber-email-177-a@example.com",
    "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
  }
}