메인 콘텐츠로 건너뛰기
다음 표는 v2 엔드포인트와 인증 방식 간의 매핑을 보여줍니다.
엔드포인트OAuth 1.0a 사용자 컨텍스트OAuth 2.0 앱 전용 
OAuth 2.0
PKCE가 포함된 권한 부여 코드
게시물 조회

id 목록으로 여러 게시물 가져오기

GET /2/tweets

id로 단일 게시물 가져오기

GET /2/tweets/:id
✅  

Berechtigungsumfänge:

tweet.read

users.read
게시물 관리

게시물 작성

POST /2/tweets

게시물 삭제

DELETE /2/tweets/:id


Berechtigungsumfänge:

tweet.read

tweet.write

users.read
타임라인

사용자 게시물 타임라인

GET /2/users/:id/tweets

사용자 멘션 타임라인

GET /2/users/:id/mentions

최신순 홈 타임라인

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




Berechtigungsumfänge:

tweet.read

users.read



Berechtigungsumfänge:

tweet.read

users.read
최근 검색

최근 7일 이내에 게시된 게시물 검색

GET /2/tweets/search/recent


Berechtigungsumfänge: 

tweet.read

users.read
전체 보관함 검색

Academic Research 접근 권한 보유자에게만 제공됨

전체 보관함의 게시물 검색

GET /2/tweets/search/all
필터링된 스트림

스트림에서 규칙 추가 또는 삭제

POST /2/tweets/search/stream/rules

스트림의 규칙 가져오기

GET /2/tweets/search/stream/rules

스트림에 연결

GET /2/tweets/search/stream
볼륨 스트림

실시간으로 전체 게시물의 약 1%를 스트리밍합니다.

GET /2/tweets/sample/stream
리게시 관리

게시물 리게시

POST /2/users/:id/retweets

리게시 삭제

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


Berechtigungsumfänge:

tweet.read

tweet.write

users.read
리게시 조회

특정 게시물을 리게시한 사용자

GET /2/tweets/:id/retweeted_by


Berechtigungsumfänge:

tweet.read

users.read
북마크 조회

북마크된 게시물 가져오기

GET /2/tweets/:id/bookmarks


Berechtigungsumfänge:

tweet.read

users.read

bookmark.read
북마크 관리

게시물을 북마크에 추가

POST /2/tweets/:id/bookmarks

게시물의 북마크 제거

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


Berechtigungsumfänge:

tweet.read

users.read

bookmark.write
좋아요 관리

게시물에 좋아요 표시

POST /2/users/:id/likes

게시물의 좋아요 취소

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


Berechtigungsumfänge:

tweet.read

users.read

like.write
좋아요 조회

특정 게시물을 좋아한 사용자

GET /2/tweets/:id/liking_users

사용자가 좋아요한 게시물

GET /2/users/:id/liked_tweets


Berechtigungsumfänge:

tweet.read

users.read

like.read
답글 숨기기

게시물에 대한 답글을 숨기거나 표시합니다.

PUT /2/tweets/:id/hidden


Berechtigungsumfänge:

tweet.read

users.read

tweet.moderate.write
사용자 조회

id로 여러 사용자 가져오기

GET /2/users

id로 단일 사용자 가져오기

GET /2/users/:id

사용자 이름으로 여러 사용자 가져오기

GET /2/users/by

사용자 이름으로 단일 사용자 가져오기

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

인증된 사용자 정보 가져오기

GET /2/users/me


Berechtigungsumfänge:

tweet.read

users.read
팔로우 관리

사용자 id가 다른 사용자를 팔로우하도록 허용

POST /2/users/:id/following

사용자 id가 다른 사용자를 언팔로우하도록 허용

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


Berechtigungsumfänge: 

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
스페이스 조회

ID로 스페이스 조회

GET /2/spaces/:id

여러 스페이스 조회

GET /2/spaces

사용자 ID가 생성한 스페이스 검색

GET /2/spaces/by/creator_ids


스코프:

tweet.read

users.read

space.read
스페이스 조회

스페이스 티켓을 구매한 사용자 가져오기

GET /2/spaces/:id/buyers


스코프:

tweet.read

users.read

space.read
스페이스 검색

지정된 검색어와 일치하는 라이브 또는 예정된 스페이스 반환

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
리스트 게시물 조회

지정된 리스트의 게시물 조회

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

인증된 사용자가 소유한 리스트에서 멤버 제거

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


Berechtigungsumfänge:

tweet.read

users.read

list.write
일괄 컴플라이언스

새 컴플라이언스 작업을 생성합니다

POST /2/compliance/jobs

지정된 컴플라이언스 작업의 상태 및 다운로드 정보를 반환합니다

GET /2/compliance/jobs/:job_id

최근 컴플라이언스 작업 목록을 반환합니다

GET /2/compliance/jobs