{ "opencollection": "1.0.0", "info": { "name": "Mosey Accounts Mail API", "version": "1.0.0" }, "items": [ { "info": { "name": "Mail", "type": "folder" }, "items": [ { "info": { "name": "List Mail", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/mail", "params": [ { "name": "start_date", "value": "", "type": "query" }, { "name": "end_date", "value": "", "type": "query" } ], "auth": { "type": "oauth2", "flow": "resource_owner_password_credentials", "accessTokenUrl": "/api/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Returns mail information received by the authorized legal entity\n\nFollow each returned `url` in order to download the mail content in PDF format" }, { "info": { "name": "List Mail", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/v2/mail", "params": [ { "name": "start_date", "value": "", "type": "query" }, { "name": "end_date", "value": "", "type": "query" }, { "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": "Returns mail information received by the authorized legal entity\n\nFollow each returned `url` in order to download the mail content in PDF format" } ] } ], "bundled": true }