Skip to main content
Access Community Notes endpoints via client.communityNotes() (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

Schemas.CreateCommunityNotesRequest
required
Request payload.
Returns: Schemas.CreateCommunityNotesResponse

delete

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

Parameters

String
required
id (path parameter).
Returns: Schemas.DeleteCommunityNotesResponse

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

Schemas.EvaluateCommunityNotesRequest
required
Request payload.
Returns: Schemas.EvaluateCommunityNotesResponse

searchEligiblePosts

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

Boolean
required
test_mode (query parameter).
Returns: Schemas.SearchEligiblePostsResponse (use searchEligiblePostsPages(...) for automatic Paginator<...> iteration)

searchWritten

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

Parameters

Boolean
required
test_mode (query parameter).
Returns: Schemas.SearchCommunityNotesWrittenResponse (use searchWrittenPages(...) for automatic Paginator<...> iteration)