Skill: krishnakumarmahadevan-cmd/temp-access-link (version 1.0.0)

--- name: Temporary Access Link Generator description: Generate secure, time-limited access links for file sharing with automatic expiration. --- # Overview The Temporary Access Link Generator is a security-focused API that enables the creation of time-limited, single-use or restricted-access links for secure file distribution. Built with security best practices, this tool allows organizations to share sensitive files without exposing permanent URLs or relying on third-party file-sharing services. Key capabilities include generating expiring access tokens, uploading files with automatic link generation, and serving files through secured token-based access. This is ideal for security teams needing to distribute sensitive documentation, incident reports, or confidential materials to authorized recipients with guaranteed expiration windows. The tool is particularly valuable for compliance scenarios, incident response workflows, and any situation where time-bound access to files is required. All access is tracked and automatically revoked after the specified expiration period. ## Usage ### Generate a temporary access link for an existing file: ```json { "file_url": "https://storage.example.com/documents/report.pdf", "expire_minutes": 30 } ``` **Sample Response:** ```json { "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...", "access_url": "https://api.mkkpro.com/tools/temp-access-link/access/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...", "expires_at": "2024-01-15T14:30:00Z", "status": "success" } ``` ### Upload a file and receive an access link: **Request:** Multipart form with binary file attachment **Sample Response:** ```json { "filename": "sensitive_audit.pdf", "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...", "access_url": "https://api.mkkpro.com/tools/temp-access-link/access/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...", "status": "uploaded" } ``` ## Endpoints ### POST /generate-link Generates a temporary access token for an existing file URL with automatic expiration. **Parameters:** | Name | Type | Required | Description | |------|------|----------|-------------| | file_url | string | Yes | The full URL of the file to create access link for | | expire_minutes | integer | Yes | Number of minutes until the link automatically expires | **Response:** JSON object containing token, access_url, expires_at timestamp, and status **Status Codes:** - `200` - Link generated successfully - `422` - Validation error (missing or invalid parameters) --- ### POST /upload-file Uploads a file and automatically generates a temporary access link for it. **Parameters:** | Name | Type | Required | Description | |------|------|----------|-------------| | file | binary | Yes | The file to upload (multipart/form-data) | **Response:** JSON object containing filename, token, access_url, and upload status **Status Codes:** - `200` - File uploaded and link generated successfully - `422` - Validation error (missing file or invalid format) --- ### GET /access/{token} Retrieves file metadata and verifies token validity for access authorization. **Parameters:** | Name | Type | Required | Description | |------|------|----------|-------------| | token | string | Yes | The access token generated by /generate-link or /upload-file endpoint | **Response:** JSON object containing file metadata, expiration status, and download information **Status Codes:** - `200` - Token valid, access granted - `422` - Validation error (invalid token format) --- ### GET /files/{filename} Serves the file content for a valid token-based access request. **Parameters:** | Name | Type | Required | Description | |------|------|----------|-------------| | filename | string | Yes | The name of the file to retrieve (typically obtained from /access/{token} response) | **Response:** File binary content with appropriate content-type header **Status Codes:** - `200` - File served successfully - `422` - Validation error (invalid filename) ## Pricing | Plan | Calls/Day | Calls/Month | Price | |------|-----------|-------------|-------| | Free | 5 | 50 | Free | | Developer | 20 | 500 | $39/mo | | Professional | 200 | 5,000 | $99/mo | | Enterprise | 100,000 | 1,000,000 | $299/mo | ## About ToolWeb.in - 200+ security APIs, CISSP & CISM, platforms: Pay-per-run, API Gateway, MCP Server, OpenClaw, RapidAPI, YouTube. - [toolweb.in](https://toolweb.in) - [portal.toolweb.in](https://portal.toolweb.in) - [hub.toolweb.in](https://hub.toolweb.in) - [toolweb.in/openclaw/](https://toolweb.in/openclaw/) - [rapidapi.com/user/mkrishna477](https://rapidapi.com/user/mkrishna477) - [youtube.com/@toolweb-009](https://youtube.com/@toolweb-009) ## References - **Kong Route:** https://api.mkkpro.com/tools/temp-access-link - **API Docs:** https://api.mkkpro.com:8030/docs


Security scan verdicts — ClawScan: suspicious | static analysis: clean | VirusTotal: clean | SkillSpector: suspicious (HIGH)