Skip to main content
Access Community Notes endpoints via client.community_notes (CommunityNotesClient).

Methods

create

POST /2/notes Create a Community Note Creates a Community Note on a Post. With test_mode set to true, the note is only for testing and is not publicly visible.

Parameters

CreateRequest
required
Request payload.
Returns: CreateResponse

delete

DELETE /2/notes/{id} Delete a Community Note Deletes a community note.

Parameters

schemas.NoteId
required
id (path parameter).
Returns: DeleteResponse

evaluate

POST /2/notes/evaluate Evaluate a Community Note Evaluates the text of a proposed Community Note on a Post and returns its claim-opinion score.

Parameters

EvaluateRequest
required
Request payload.
Returns: EvaluateResponse

search_eligible_posts

GET /2/notes/search/posts_eligible_for_notes Paginated Search for Posts Eligible for Community Notes Retrieves Posts that are eligible for Community Notes.

Parameters

bool
required
test_mode (query parameter).
Returns: Iterator[SearchEligiblePostsResponse]

search_written

GET /2/notes/search/notes_written Paginated Search for Community Notes Written Retrieves the Community Notes written by the authenticated user.

Parameters

bool
required
test_mode (query parameter).
Returns: Iterator[SearchWrittenResponse]