{ "opencollection": "1.0.0", "info": { "name": "Pinwheel Accounts API Keys API", "version": "v2025-07-08" }, "request": { "auth": { "type": "apikey", "key": "X-API-SECRET", "value": "{{X-API-SECRET}}", "placement": "header" } }, "items": [ { "info": { "name": "API Keys", "type": "folder" }, "items": [ { "info": { "name": "Admin API Authentication", "type": "http" }, "http": { "method": "POST", "url": "https://api.getpinwheel.com/v1/admin/token", "headers": [ { "name": "Pinwheel-Version", "value": "" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Authenticate against the Admin API." }, { "info": { "name": "List API Keys", "type": "http" }, "http": { "method": "GET", "url": "https://api.getpinwheel.com/v1/admin/api_keys", "headers": [ { "name": "authorization", "value": "" }, { "name": "Pinwheel-Version", "value": "" } ], "params": [ { "name": "cursor", "value": "", "type": "query", "description": "Cursor for the page you want to retrieve." }, { "name": "limit", "value": "", "type": "query", "description": "The maximum number of results to return." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "List all keys for this workspace." }, { "info": { "name": "Create an API Key", "type": "http" }, "http": { "method": "POST", "url": "https://api.getpinwheel.com/v1/admin/api_keys", "headers": [ { "name": "authorization", "value": "" }, { "name": "Pinwheel-Version", "value": "" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Creates an API Key." }, { "info": { "name": "Revoke an API Key", "type": "http" }, "http": { "method": "POST", "url": "https://api.getpinwheel.com/v1/admin/api_keys/:api_key/revoke", "headers": [ { "name": "authorization", "value": "" }, { "name": "Pinwheel-Version", "value": "" } ], "params": [ { "name": "api_key", "value": "", "type": "path", "description": "The public token that refers to your API key, as distinct from the API Secret." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Revokes an API Key." } ] } ], "bundled": true }