메인 콘텐츠로 건너뛰기
POST
/
2
/
notes
Community Note 만들기
curl --request POST \
  --url https://api.x.com/2/notes \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "info": {
    "classification": "misinformed_or_potentially_misleading",
    "misleading_tags": [
      "disputed_claim_as_fact"
    ],
    "text": "<string>",
    "trustworthy_sources": true
  },
  "post_id": "1346889436626259968",
  "test_mode": true
}
'
{
  "data": {
    "id": "1146654567674912769"
  },
  "errors": [
    {
      "title": "<string>",
      "type": "<string>",
      "detail": "<string>",
      "status": 123
    }
  ]
}

인증

Authorization
string
header
필수

The access token received from the authorization server in the OAuth 2.0 flow.

본문

application/json
info
object
필수

X Community Note는 게시물에 첨부된 노트입니다.

post_id
string
필수

이 Tweet의 고유 식별자입니다. 일부 언어 및 도구에서 큰 정수를 처리하지 못해 발생하는 문제를 피하기 위해 문자열로 반환됩니다.

Pattern: ^[0-9]{1,19}$
예시:

"1346889436626259968"

test_mode
boolean
필수

true이면 제출된 노트는 봇 기능을 테스트하기 위한 용도로만 사용되며 공개적으로 표시되지 않습니다. false이면 제출된 노트는 제품에 대한 새로운 제안 노트가 됩니다.

응답

요청이 성공적으로 처리되었습니다.

data
object
errors
object[]
Minimum array length: 1

IETF RFC 7807(https://tools.ietf.org/html/rfc7807)에 정의된 HTTP Problem Details 객체