/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
| Field | Description |
|---|---|
created_at | Account creation date |
description | User bio |
profile_image_url | Avatar URL |
verified | Verification status |
public_metrics | Follower/following counts |
location | User-defined location |
url | User’s website |
protected | Protected account status |
pinned_tweet_id | Pinned Post ID |
Authentication requirement
Use either:Next steps
User lookup
Look up other users
Integration guide
Key concepts and best practices
API Reference
Full endpoint documentation