{ "opencollection": "1.0.0", "info": { "name": "Mosey Accounts Logins API", "version": "1.0.0" }, "items": [ { "info": { "name": "Logins", "type": "folder" }, "items": [ { "info": { "name": "List Legal Entity's Account Logins", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/logins", "auth": { "type": "oauth2", "flow": "resource_owner_password_credentials", "accessTokenUrl": "/api/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Lists _Account Login_ for the current _Legal Entity_.\n\nRetrieving a login's information is a **three-step process**:\n1. the returned objects will contain, amongst other information, the `id` of the Account Login.\n1. the hosted url can be obtained by calling `/logins//sessions`\n1. the Account Login data will be available following the previous response's `url`\n\n### Example\n\n1. Request all logins for the current Legal Entity: `/logins`\n1. Response:\n ```\n [\n {\n \"id\": \"abc1234\",\n" }, { "info": { "name": "Create Account Login Session", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/logins/:legal_entity_account_login_public_id/sessions", "params": [ { "name": "legal_entity_account_login_public_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "resource_owner_password_credentials", "accessTokenUrl": "/api/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Returns the url the end-user should follow to retrieve the Account Login secrets and data" }, { "info": { "name": "List Legal Entity's Account Logins", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/v2/logins", "params": [ { "name": "region", "value": "", "type": "query" }, { "name": "legal_entity_public_id", "value": "", "type": "query" }, { "name": "user_or_platform_public_id", "value": "", "type": "query" }, { "name": "platform_public_id", "value": "", "type": "query" } ], "auth": { "type": "oauth2", "flow": "resource_owner_password_credentials", "accessTokenUrl": "/api/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Lists _Account Login_ for the current _Legal Entity_.\n\nRetrieving a login's information is a **three-step process**:\n1. the returned objects will contain, amongst other information, the `id` of the Account Login.\n1. the hosted url can be obtained by calling `/logins//sessions`\n1. the Account Login data will be available following the previous response's `url`\n\n### Example\n\n1. Request all logins for the current Legal Entity: `/logins`\n1. Response:\n ```\n [\n {\n \"id\": \"abc1234\",\n" }, { "info": { "name": "Create Account Login Session", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/v2/logins/:account_login_public_id/session", "params": [ { "name": "account_login_public_id", "value": "", "type": "path" }, { "name": "legal_entity_public_id", "value": "", "type": "query" }, { "name": "user_or_platform_public_id", "value": "", "type": "query" }, { "name": "platform_public_id", "value": "", "type": "query" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "resource_owner_password_credentials", "accessTokenUrl": "/api/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Create Account Login Session" } ] } ], "bundled": true }