Skip to main content
This guide walks you through retrieving the currently authenticated user’s profile using the /me endpoint.
PrerequisitesBefore you begin, you’ll need:
  • A developer account with an approved App
  • User Access Token (OAuth 1.0a or OAuth 2.0 PKCE)

Get the authenticated user

Make a request to the /me endpoint with a User Access Token:
cURL

Response


Use case

The /me endpoint is essential when:
  • Verifying authentication — Confirm the user is properly authenticated
  • Getting the user ID — Retrieve the authenticated user’s ID for other API calls
  • Personalizing experiences — Display the user’s profile in your app
  • On behalf of requests — Know who you’re making requests for

Include pinned Post

Request the user’s pinned Post:
cURL

Response with expansion


Available fields

FieldDescription
created_atAccount creation date
descriptionUser bio
profile_image_urlAvatar URL
verifiedVerification status
public_metricsFollower/following counts
locationUser-defined location
urlUser’s website
protectedProtected account status
pinned_tweet_idPinned Post ID

Authentication requirement

The /me endpoint requires User Context authentication. App-Only (Bearer Token) authentication is not supported.
Use either:

Next steps

User lookup

Look up other users

Integration guide

Key concepts and best practices

API Reference

Full endpoint documentation