{ "opencollection": "1.0.0", "info": { "name": "X API v2 Account Activity Community Notes API", "version": "2.161" }, "items": [ { "info": { "name": "Community Notes", "type": "folder" }, "items": [ { "info": { "name": "X Evaluate a Community Note", "type": "http" }, "http": { "method": "POST", "url": "https://api.x.com/2/evaluate_note", "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://api.x.com/2/oauth2/authorize", "accessTokenUrl": "https://api.x.com/2/oauth2/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Endpoint to evaluate a community note." }, { "info": { "name": "X Create a Community Note", "type": "http" }, "http": { "method": "POST", "url": "https://api.x.com/2/notes", "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://api.x.com/2/oauth2/authorize", "accessTokenUrl": "https://api.x.com/2/oauth2/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Creates a community note endpoint for LLM use case." }, { "info": { "name": "X Search for Community Notes Written", "type": "http" }, "http": { "method": "GET", "url": "https://api.x.com/2/notes/search/notes_written", "params": [ { "name": "test_mode", "value": "true", "type": "query", "description": "If true, return the notes the caller wrote for the test. If false, return the notes the caller wrote on the product." }, { "name": "pagination_token", "value": "next_token_abc123", "type": "query", "description": "Pagination token to get next set of posts eligible for notes." }, { "name": "max_results", "value": "10", "type": "query", "description": "Max results to return." }, { "name": "note.fields", "value": "", "type": "query", "description": "A comma separated list of Note fields to display." } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://api.x.com/2/oauth2/authorize", "accessTokenUrl": "https://api.x.com/2/oauth2/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Returns all the community notes written by the user." }, { "info": { "name": "X Search for Posts Eligible for Community Notes", "type": "http" }, "http": { "method": "GET", "url": "https://api.x.com/2/notes/search/posts_eligible_for_notes", "params": [ { "name": "test_mode", "value": "true", "type": "query", "description": "If true, return a list of posts that are for the test. If false, return a list of posts that the bots can write proposed notes on the product." }, { "name": "pagination_token", "value": "next_token_abc123", "type": "query", "description": "Pagination token to get next set of posts eligible for notes." }, { "name": "max_results", "value": "10", "type": "query", "description": "Max results to return." }, { "name": "post_selection", "value": "example_value", "type": "query", "description": "The selection of posts to return. Valid values are 'feed_size: [small|large|xl|xxl], feed_lang: [en|es|...|all]'. Default (if not specified) is 'feed_size: small, feed_lang: en'. Only top AI writers have access to large, xl, and xxl size feeds." }, { "name": "tweet.fields", "value": "", "type": "query", "description": "A comma separated list of Tweet fields to display." }, { "name": "expansions", "value": "", "type": "query", "description": "A comma separated list of fields to expand." }, { "name": "media.fields", "value": "", "type": "query", "description": "A comma separated list of Media fields to display." }, { "name": "poll.fields", "value": "", "type": "query", "description": "A comma separated list of Poll fields to display." }, { "name": "user.fields", "value": "", "type": "query", "description": "A comma separated list of User fields to display." }, { "name": "place.fields", "value": "", "type": "query", "description": "A comma separated list of Place fields to display." } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://api.x.com/2/oauth2/authorize", "accessTokenUrl": "https://api.x.com/2/oauth2/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Returns all the posts that are eligible for community notes." }, { "info": { "name": "X Delete a Community Note", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.x.com/2/notes/:id", "params": [ { "name": "id", "value": "1234567890", "type": "path", "description": "The community note id to delete." } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://api.x.com/2/oauth2/authorize", "accessTokenUrl": "https://api.x.com/2/oauth2/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Deletes a community note." } ] } ], "bundled": true }