{ "opencollection": "1.0.0", "info": { "name": "Alloy Automation Embedded & Unified Connectivity Credentials API", "version": "2024-03" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Credentials", "type": "folder" }, "items": [ { "info": { "name": "List a user's credentials", "type": "http" }, "http": { "method": "GET", "url": "https://embedded.runalloy.com/2024-03/users/:userId/credentials", "params": [ { "name": "userId", "value": "", "type": "path", "description": "The Alloy end-user record ID." } ] }, "docs": "List a user's credentials" }, { "info": { "name": "Create a credential for a user", "type": "http" }, "http": { "method": "POST", "url": "https://embedded.runalloy.com/2024-03/users/:userId/credentials", "params": [ { "name": "userId", "value": "", "type": "path", "description": "The Alloy end-user record ID." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates a credential (connection) for a user. Use the credential metadata endpoint to learn which auth fields a connector requires." }, { "info": { "name": "Retrieve a credential", "type": "http" }, "http": { "method": "GET", "url": "https://embedded.runalloy.com/2024-03/users/:userId/credentials/:credentialId", "params": [ { "name": "userId", "value": "", "type": "path", "description": "The Alloy end-user record ID." }, { "name": "credentialId", "value": "", "type": "path", "description": "The end-user credential (connection) ID." } ] }, "docs": "Retrieve a credential" }, { "info": { "name": "Delete a credential", "type": "http" }, "http": { "method": "DELETE", "url": "https://embedded.runalloy.com/2024-03/users/:userId/credentials/:credentialId", "params": [ { "name": "userId", "value": "", "type": "path", "description": "The Alloy end-user record ID." }, { "name": "credentialId", "value": "", "type": "path", "description": "The end-user credential (connection) ID." } ] }, "docs": "Delete a credential" }, { "info": { "name": "Retrieve credential structures", "type": "http" }, "http": { "method": "GET", "url": "https://embedded.runalloy.com/2024-03/metadata/credentials", "params": [ { "name": "app", "value": "", "type": "query", "description": "Connector/app identifier to scope the credential metadata to." } ] }, "docs": "Returns the basic structure of the data that must be provided when adding a credential manually for an app, used before calling the create credential endpoint." } ] } ], "bundled": true }