{ "item": [ { "id": "7b25f8f0-7d23-4a84-ab81-631e01a4014e", "name": "Users", "description": { "content": "", "type": "text/plain" }, "item": [ { "id": "8b2048ab-a40e-4276-a78a-41563a4fca6c", "name": "Look up a user by ID", "request": { "name": "Look up a user by ID", "description": {}, "url": { "path": [ "users", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "id", "description": "(Required) " } ] }, "method": "GET", "auth": null }, "response": [ { "id": "c6c6a49c-6ba2-425b-b604-ea5cc0709f2a", "name": "A user", "originalRequest": { "url": { "path": [ "users", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "id", "description": "(Required) " } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "OK", "code": 200, "header": [ { "key": "Content-Type", "value": "text/plain" } ], "body": "", "cookie": [], "_postman_previewlanguage": "text" } ], "event": [], "protocolProfileBehavior": { "disableBodyPruning": true } }, { "id": "837ba6cf-907e-4510-9f71-7ecd5bd11846", "name": "Look up a user by username", "request": { "name": "Look up a user by username", "description": {}, "url": { "path": [ "users", "by", "username", ":username" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "username", "description": "(Required) " } ] }, "method": "GET", "auth": null }, "response": [ { "id": "443c7777-b0cb-4dd6-abe4-99351b85530a", "name": "A user", "originalRequest": { "url": { "path": [ "users", "by", "username", ":username" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "username", "description": "(Required) " } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "OK", "code": 200, "header": [ { "key": "Content-Type", "value": "text/plain" } ], "body": "", "cookie": [], "_postman_previewlanguage": "text" } ], "event": [], "protocolProfileBehavior": { "disableBodyPruning": true } } ], "event": [] } ], "event": [], "variable": [ { "type": "string", "value": "https://api.x.com/2", "key": "baseUrl" } ], "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{bearerToken}}" } ] }, "info": { "_postman_id": "70576cb2-5166-46f5-b3c2-37c62e2f00b5", "name": "X API v2 Posts Users API", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", "description": { "content": "The X (formerly Twitter) API v2 provides programmatic access to posts, users,\nspaces, direct messages, lists, and trends. Endpoints derived from the public\nX API v2 introduction documentation at docs.x.com.\n\n\nContact Support:\n Name: X Developer Platform", "type": "text/plain" } } }