मुख्य सामग्री पर जाएं
निम्नलिखित चार्ट दिखाता है कि कौन-से v2 endpoints किस authentication method से मैप किए जाते हैं।
एंडपॉइंटOAuth 1.0a उपयोगकर्ता संदर्भOAuth 2.0 ऐप-केवल 
OAuth 2.0
PKCE के साथ ऑथराइज़ेशन कोड
Tweet lookup

IDs की सूची का उपयोग करके कई Tweets प्राप्त करें

GET /2/tweets

ID का उपयोग करके एक Tweet प्राप्त करें

GET /2/tweets/:id
✅  

स्कोप्स:

tweet.read

users.read
Tweets प्रबंधित करें

Tweet करें

POST /2/tweets

Tweet हटाएँ

DELETE /2/tweets/:id


स्कोप:

tweet.read

tweet.write

users.read
टाइमलाइन्स

उपयोगकर्ता की Tweet टाइमलाइन

GET /2/users/:id/tweets

उपयोगकर्ता मेंशन टाइमलाइन

GET /2/users/:id/mentions

उल्टे कालानुक्रम में होम टाइमलाइन

GET /2/users/:id/timelines/reverse_cronological




स्कोप:

tweet.read

users.read



स्कोप:

tweet.read

users.read
हाल की खोज

पिछले 7 दिनों में प्रकाशित Tweets खोजें

GET /2/tweets/search/recent


स्कोप्स: 

tweet.read

users.read
पूर्ण आर्काइव खोज

केवल Academic Research ऐक्सेस वाले उपयोगकर्ताओं के लिए उपलब्ध

Tweet के पूर्ण आर्काइव में खोजें

GET /2/tweets/search/all
फ़िल्टर की गई स्ट्रीम

अपनी स्ट्रीम में नियम जोड़ें या हटाएँ

POST /2/tweets/search/stream/rules

अपनी स्ट्रीम के नियम प्राप्त करें

GET /2/tweets/search/stream/rules

स्ट्रीम से कनेक्ट करें

GET /2/tweets/search/stream
वॉल्यूम स्ट्रीम्स

सभी Tweet में से लगभग 1% को रीयल-टाइम में स्ट्रीम करता है।

GET /2/tweets/sample/stream
रीट्वीट प्रबंधित करें

किसी Tweet को रीट्वीट करें

POST /2/users/:id/retweets

रीट्वीट हटाएँ

DELETE /2/users/:id/retweets/:source_tweet_id


स्कोप्स:

tweet.read

tweet.write

users.read
रीट्वीट्स लुकअप

वे उपयोगकर्ता जिन्होंने किसी Tweet को रीट्वीट किया है

GET /2/tweets/:id/retweeted_by


स्कोप:

tweet.read

users.read
बुकमार्क्स लुकअप

बुकमार्क किए गए Tweet प्राप्त करें

GET /2/tweets/:id/bookmarks


स्कोप:

tweet.read

users.read

bookmark.read
बुकमार्क प्रबंधित करें

Tweet को बुकमार्क करें

POST /2/tweets/:id/bookmarks

Tweet से बुकमार्क हटाएँ

DELETE /2/users/:id/bookmarks:tweet_id


स्कोप:

tweet.read

users.read

bookmark.write
लाइक्स प्रबंधित करें

किसी Tweet को लाइक करें

POST /2/users/:id/likes

किसी Tweet का लाइक हटाएं

DELETE /2/users/:id/likes/:tweet_id


स्कोप्स:

tweet.read

users.read

like.write
लाइक्स लुकअप

वे उपयोगकर्ता जिन्होंने किसी Tweet को लाइक किया है

GET /2/tweets/:id/liking_users

किसी उपयोगकर्ता द्वारा लाइक किए गए Tweets

GET /2/users/:id/liked_tweets


स्कोप्स:

tweet.read

users.read

like.read
जवाब छिपाएँ

किसी Tweet के जवाब को छिपाता है या उसका छिपाना हटाता है।

PUT /2/tweets/:id/hidden


स्कोप्स:

tweet.read

users.read

tweet.moderate.write
उपयोगकर्ता लुकअप

IDs के आधार पर कई उपयोगकर्ताओं को प्राप्त करें

GET /2/users

id के आधार पर एक उपयोगकर्ता को प्राप्त करें

GET /2/users/:id

उपयोगकर्ता नामों के आधार पर कई उपयोगकर्ताओं को प्राप्त करें

GET /2/users/by

उपयोगकर्ता नाम के आधार पर एक उपयोगकर्ता को प्राप्त करें

GET /2/users/by/username/:username

प्रमाणित उपयोगकर्ता के बारे में जानकारी प्राप्त करें

GET /2/users/me


स्कोप:

tweet.read

users.read
फ़ॉलो प्रबंधित करें

किसी उपयोगकर्ता ID को दूसरे उपयोगकर्ता को फ़ॉलो करने की अनुमति देता है

POST /2/users/:id/following

किसी उपयोगकर्ता ID को दूसरे उपयोगकर्ता को अनफ़ॉलो करने की अनुमति देता है

DELETE /2/users/:source_user_id/following/:target_user_id


स्कोप: 

tweet.read

users.read

follows.write
फ़ॉलो लुकअप

ID के आधार पर किसी उपयोगकर्ता द्वारा फ़ॉलो किए जा रहे उपयोगकर्ताओं को देखें

GET /2/users/:id/following

ID के आधार पर किसी उपयोगकर्ता के फ़ॉलोअर्स को देखें

GET /2/users/:id/followers


स्कोप:

tweet.read

users.read

follows.read
ब्लॉक लुकअप

निर्दिष्ट उपयोगकर्ता ID ने जिन उपयोगकर्ताओं को ब्लॉक किया है, उनकी सूची लौटाता है

GET /2/users/:id/blocking


स्कोप:

tweet.read

users.read

block.read
म्यूट प्रबंधित करें

किसी उपयोगकर्ता ID को दूसरे उपयोगकर्ता को म्यूट करने की अनुमति देता है

POST /2/users/:id/muting

किसी उपयोगकर्ता ID को दूसरे उपयोगकर्ता को अनम्यूट करने की अनुमति देता है

DELETE /2/users/:source_user_id/muting/:target_user_id


स्कोप:

tweet.read

users.read

mute.write
म्यूट्स लुकअप

निर्दिष्ट उपयोगकर्ता ID द्वारा म्यूट किए गए उपयोगकर्ताओं की सूची लौटाता है

GET /2/users/:id/muting


स्कोप:

tweet.read

users.read

mute.read
Spaces लुकअप

ID से Space लुकअप करें

GET /2/spaces/:id

कई Spaces लुकअप करें

GET /2/spaces

user ID द्वारा बनाए गए Spaces खोजें

GET /2/spaces/by/creator_ids


स्कोप्स:

tweet.read

users.read

space.read
Spaces खोज

उन उपयोगकर्ताओं को प्राप्त करें जिन्होंने किसी Space का टिकट खरीदा है

GET /2/spaces/:id/buyers


स्कोप्स:

tweet.read

users.read

space.read
Spaces खोज

आपके बताए गए खोज शब्दों से मेल खाने वाले लाइव या शेड्यूल किए गए Spaces लौटाता है।

GET /2/spaces/search


स्कोप:

tweet.read

users.read

space.read
सूची खोज

ID से किसी विशिष्ट सूची को खोजें

GET /2/lists/:id

किसी उपयोगकर्ता के स्वामित्व वाली सूची को खोजें

GET /2/users/:id/owned_lists


स्कोप्स:

tweet.read

users.read

list.read
सूचियों का प्रबंधन

प्रमाणीकृत उपयोगकर्ता की ओर से नई सूची बनाता है

POST /2/lists


स्कोप्स:

tweet.read

users.read

list.read

list.write
सूचियों का प्रबंधन

प्रमाणीकृत उपयोगकर्ता के स्वामित्व वाली सूची को हटाता है

DELETE /2/lists/:id

प्रमाणीकृत उपयोगकर्ता के स्वामित्व वाली सूची के मेटाडेटा को अपडेट करता है

PUT /2/lists/:id


स्कोप:

tweet.read

users.read

list.write
सूची Tweets प्राप्त करें

निर्दिष्ट सूची से Tweets प्राप्त करें

GET /2/lists/:id/tweets


स्कोप:

tweet.read

users.read

list.read
सूची सदस्यों की खोज

निर्दिष्ट सूची के सदस्यों की सूची लौटाता है

GET /2/lists/:id/members

उन सभी सूचियों को लौटाता है, जिनका निर्दिष्ट उपयोगकर्ता सदस्य है

GET /2/users/:id/list_memberships


स्कोप:

tweet.read

users.read

list.read
सूची सदस्यों को प्रबंधित करें

प्रमाणीकृत उपयोगकर्ता के स्वामित्व वाली सूची में एक सदस्य जोड़ें

POST /2/lists/:id/members

प्रमाणीकृत उपयोगकर्ता के swामित्व वाली सूची से एक सदस्य हटाएँ

DELETE /2/lists/:id/members/:user_id


स्कोप:

tweet.read

users.read

list.write
सूची फ़ॉलो लुकअप

निर्दिष्ट सूची के सभी फ़ॉलोअर लौटाता है

GET /2/lists/:id/followers

निर्दिष्ट उपयोगकर्ता द्वारा फ़ॉलो की जाने वाली सभी सूचियाँ लौटाता है

GET /2/users/:id/followed_lists


स्कोप्स:

tweet.read

users.read

list.read
सूची फ़ॉलो प्रबंधन

प्रमाणीकृत उपयोगकर्ता की ओर से किसी सूची को फ़ॉलो करता है

POST /2/users/:id/followed_lists

प्रमाणीकृत उपयोगकर्ता की ओर से किसी सूची को अनफ़ॉलो करता है

DELETE /2/users/:id/followed_lists/:list_id


स्कोप:

tweet.read

users.read

list.write
पिन की गई सूचियों की जानकारी

प्रमाणीकृत उपयोगकर्ता की पिन की गई सूचियाँ लौटाता है

GET /2/users/:id/pinned_lists


स्कोप:

tweet.read

users.read

list.read
पिन की गई सूची को प्रबंधित करें

प्रमाणीकृत उपयोगकर्ता की ओर से किसी सूची को पिन करता है

POST /2/users/:id/pinned_lists

प्रमाणीकृत उपयोगकर्ता की ओर से किसी सूची को अनपिन करता है

DELETE /2/users/:id/pinned_lists/:list_id


स्कोप:

tweet.read

users.read

list.write
बैच अनुपालन

एक नया अनुपालन जॉब बनाता है

POST /2/compliance/jobs

निर्दिष्ट अनुपालन जॉब की स्थिति और डाउनलोड जानकारी लौटाता है

GET /2/compliance/jobs/:job_id

हाल के अनुपालन जॉब्स की सूची लौटाता है

GET /2/compliance/jobs