{
  "service": "docsend_2_pdf",
  "displayName": "Docsend2pdf",
  "categories": [
    "Productivity",
    "Design & Media"
  ],
  "authTypes": [
    "no_auth"
  ],
  "auth": [
    {
      "type": "no_auth"
    }
  ],
  "homepageUrl": "https://docsend2pdf.com",
  "actions": [
    {
      "id": "docsend_2_pdf.convert",
      "service": "docsend_2_pdf",
      "name": "convert",
      "description": "Convert a DocSend document URL to PDF and return JSON-safe download metadata.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "description": "The DocSend document URL to convert.",
            "format": "uri"
          },
          "email": {
            "type": "string",
            "description": "The optional email address required by some protected DocSend links.",
            "format": "email"
          },
          "passcode": {
            "type": "string",
            "minLength": 1,
            "description": "The optional passcode required by password-protected DocSend links."
          },
          "outputName": {
            "type": "string",
            "minLength": 1,
            "description": "The preferred PDF filename for the converted document."
          },
          "returnPdfBase64": {
            "type": "boolean",
            "description": "Whether to return the PDF bytes as base64 when file transit is unavailable or not desired."
          }
        },
        "additionalProperties": false,
        "required": [
          "url"
        ],
        "description": "Input parameters for converting one DocSend document to PDF."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "succeeded": {
            "type": "boolean",
            "description": "Whether the conversion completed successfully."
          },
          "contentType": {
            "type": "string",
            "description": "The MIME type returned for the converted PDF."
          },
          "contentLength": {
            "type": "integer",
            "description": "The PDF size in bytes."
          },
          "rateLimit": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "integer",
                "description": "The maximum requests allowed in the rate-limit window."
              },
              "remaining": {
                "type": "integer",
                "description": "The remaining requests in the current rate-limit window."
              },
              "reset": {
                "type": "integer",
                "description": "The timestamp when the rate-limit window resets."
              },
              "retryAfter": {
                "type": "integer",
                "description": "The retry delay in seconds when rate limited."
              }
            },
            "additionalProperties": false,
            "description": "Rate limit metadata returned by Docsend2pdf when available."
          },
          "pdf": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string",
                "description": "The PDF filename."
              },
              "mimetype": {
                "type": "string",
                "description": "The PDF MIME type."
              },
              "downloadUrl": {
                "type": "string",
                "description": "The local transit URL for downloading the converted PDF.",
                "format": "uri"
              },
              "base64": {
                "type": "string",
                "description": "The converted PDF content encoded as base64 when explicitly requested."
              }
            },
            "additionalProperties": false,
            "required": [
              "name",
              "mimetype"
            ],
            "description": "The converted PDF delivery metadata."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Docsend2pdf conversion response."
      }
    }
  ]
}
