Skip to main content
Glama

get_download_url

Retrieve a temporary download URL for signed documents from completed digital signature envelopes. The URL expires after 5 minutes for secure document access.

Instructions

Get a temporary download URL (valid 5 min) for signed documents from a completed envelope.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
envelopeIdYesEnvelope UUID
outputNoOutput format (default: combined)

Implementation Reference

  • The core function that implements the download URL retrieval logic via an API call.
    export function getDownloadUrl(creds, envelopeId, { output = 'combined' } = {}) {
      return apiCall('GET', `/api/envelopes/${envelopeId}/download-url?output=${output}`, creds);
    }
  • src/index.js:126-140 (registration)
    The MCP tool registration for 'get_download_url', including schema definition and the handler that calls the underlying API.
    server.tool(
      'get_download_url',
      'Get a temporary download URL (valid 5 min) for signed documents from a completed envelope.',
      {
        envelopeId: z.string().describe('Envelope UUID'),
        output: z.enum(['combined', 'separate', 'only_log']).optional().describe('Output format (default: combined)'),
      },
      async ({ envelopeId, output }) => {
        try {
          const data = await api.getDownloadUrl(creds, envelopeId, { output });
          return result(data);
        } catch (err) {
          return errorResult(err);
        }
      }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/davidsimoes/digisign-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server