{ "opencollection": "1.0.0", "info": { "name": "Reputation Asset Library Authorize API", "version": "v3" }, "request": { "auth": { "type": "apikey", "key": "X-API-KEY", "value": "{{X-API-KEY}}", "placement": "header" } }, "items": [ { "info": { "name": "Authorize", "type": "folder" }, "items": [ { "info": { "name": "Authorize", "type": "http" }, "http": { "method": "POST", "url": "https://api.reputation.com/v3/authorize", "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "X-API-KEY", "value": "{{X-API-KEY}}", "placement": "header" } }, "docs": "Authorize a user on your platform, either granting them access or updating their permissions based on provided personal and role-specific details.\nSample Requests\nPython\nimport requests\nimport json\nurl = 'https://api.reputation.com/v3/authorize'\nheaders = {\n 'x-api-key': 'Your API key',\n 'Content-Type': 'application/json;charset=UTF-8'\n}\ndata = {\n \"userId\": \"346345\",\n \"locationCodes\": \"145, 742, 520\",\n \"firstName\": \"Jeff\",\n \"lastName\": \"Goodman\",\n \"email\": \"john@goodman.com\"" } ] } ], "bundled": true }