{
  "service": "dropbox_sign",
  "displayName": "Dropbox Sign",
  "categories": [
    "Productivity"
  ],
  "authTypes": [
    "api_key"
  ],
  "auth": [
    {
      "type": "api_key",
      "label": "API Key",
      "placeholder": "DROPBOX_SIGN_API_KEY",
      "description": "Dropbox Sign API key used as the Basic Auth username. Create or view API keys from the API tab of your Dropbox Sign API Settings page: https://app.hellosign.com/home/myAccount?current_tab=integrations#api."
    }
  ],
  "homepageUrl": "https://sign.dropbox.com",
  "actions": [
    {
      "id": "dropbox_sign.get_account",
      "service": "dropbox_sign",
      "name": "get_account",
      "description": "Retrieve Dropbox Sign account properties and settings for the connected account or a specified account.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "accountId": {
            "type": "string",
            "minLength": 1,
            "description": "The Dropbox Sign account ID to retrieve."
          },
          "emailAddress": {
            "type": "string",
            "description": "The email address of the Dropbox Sign account to retrieve.",
            "format": "email"
          }
        },
        "additionalProperties": false,
        "description": "Input for retrieving a Dropbox Sign account."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "account": {
            "type": "object",
            "properties": {
              "accountId": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The Dropbox Sign account ID."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "emailAddress": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The email address associated with the account."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "isLocked": {
                "anyOf": [
                  {
                    "type": "boolean",
                    "description": "Whether the account is locked."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "isPaidSign": {
                "anyOf": [
                  {
                    "type": "boolean",
                    "description": "Whether the account has a paid Dropbox Sign plan."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "isPaidFax": {
                "anyOf": [
                  {
                    "type": "boolean",
                    "description": "Whether the account has a paid Dropbox Fax plan."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "callbackUrl": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The configured account callback URL."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "roleCode": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The account role code within a team."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "teamId": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The Dropbox Sign team ID when present."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "raw": {
                "type": "object",
                "properties": {},
                "additionalProperties": true,
                "description": "The raw Dropbox Sign API object."
              }
            },
            "additionalProperties": false,
            "description": "A normalized Dropbox Sign account."
          }
        },
        "additionalProperties": false,
        "description": "A Dropbox Sign account response."
      }
    },
    {
      "id": "dropbox_sign.get_signature_request",
      "service": "dropbox_sign",
      "name": "get_signature_request",
      "description": "Retrieve one Dropbox Sign signature request by ID.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "signatureRequestId": {
            "type": "string",
            "minLength": 1,
            "description": "The Dropbox Sign signature request ID."
          }
        },
        "additionalProperties": false,
        "description": "Input for retrieving a Dropbox Sign signature request."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "signatureRequest": {
            "type": "object",
            "properties": {
              "signatureRequestId": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The Dropbox Sign signature request ID."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "title": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The signature request title."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "subject": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The email subject used for the signature request."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "message": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The message used for the signature request."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "isComplete": {
                "anyOf": [
                  {
                    "type": "boolean",
                    "description": "Whether all required signers have completed the request."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "isDeclined": {
                "anyOf": [
                  {
                    "type": "boolean",
                    "description": "Whether a signer declined the request."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "hasError": {
                "anyOf": [
                  {
                    "type": "boolean",
                    "description": "Whether Dropbox Sign reported an error on the request."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "testMode": {
                "anyOf": [
                  {
                    "type": "boolean",
                    "description": "Whether the request was created in test mode."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "createdAt": {
                "anyOf": [
                  {
                    "type": "integer",
                    "description": "The creation timestamp returned by Dropbox Sign."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "expiresAt": {
                "anyOf": [
                  {
                    "type": "integer",
                    "description": "The expiration timestamp returned by Dropbox Sign."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "raw": {
                "type": "object",
                "properties": {},
                "additionalProperties": true,
                "description": "The raw Dropbox Sign API object."
              }
            },
            "additionalProperties": false,
            "description": "A normalized Dropbox Sign signature request."
          }
        },
        "additionalProperties": false,
        "description": "A Dropbox Sign signature request response."
      }
    },
    {
      "id": "dropbox_sign.get_template",
      "service": "dropbox_sign",
      "name": "get_template",
      "description": "Retrieve one Dropbox Sign template by ID.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "templateId": {
            "type": "string",
            "minLength": 1,
            "description": "The Dropbox Sign template ID."
          }
        },
        "additionalProperties": false,
        "description": "Input for retrieving a Dropbox Sign template."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "template": {
            "type": "object",
            "properties": {
              "templateId": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The Dropbox Sign template ID."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "title": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The template title."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "message": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The default template message."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "signerRoles": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {},
                  "additionalProperties": true,
                  "description": "The raw Dropbox Sign API object."
                },
                "description": "The raw signer roles configured on the template."
              },
              "ccRoles": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {},
                  "additionalProperties": true,
                  "description": "The raw Dropbox Sign API object."
                },
                "description": "The raw CC roles configured on the template."
              },
              "isCreator": {
                "anyOf": [
                  {
                    "type": "boolean",
                    "description": "Whether the connected account created the template."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "canEdit": {
                "anyOf": [
                  {
                    "type": "boolean",
                    "description": "Whether the connected account can edit the template."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "createdAt": {
                "anyOf": [
                  {
                    "type": "integer",
                    "description": "The creation timestamp returned by Dropbox Sign."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "raw": {
                "type": "object",
                "properties": {},
                "additionalProperties": true,
                "description": "The raw Dropbox Sign API object."
              }
            },
            "additionalProperties": false,
            "description": "A normalized Dropbox Sign template."
          }
        },
        "additionalProperties": false,
        "description": "A Dropbox Sign template response."
      }
    },
    {
      "id": "dropbox_sign.list_signature_requests",
      "service": "dropbox_sign",
      "name": "list_signature_requests",
      "description": "List Dropbox Sign signature requests accessible to the connected account with optional search and pagination.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "accountId": {
            "type": "string",
            "minLength": 1,
            "description": "The Dropbox Sign account ID to list resources for. Use all to include all team members."
          },
          "page": {
            "type": "integer",
            "minimum": 1,
            "description": "The page number to return. Dropbox Sign defaults to 1."
          },
          "pageSize": {
            "type": "integer",
            "minimum": 1,
            "maximum": 100,
            "description": "The number of objects per page. Dropbox Sign supports 1 through 100."
          },
          "query": {
            "type": "string",
            "minLength": 1,
            "description": "Search terms or field filters accepted by Dropbox Sign search."
          }
        },
        "additionalProperties": false,
        "description": "Input for listing Dropbox Sign signature requests."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "signatureRequests": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "signatureRequestId": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The Dropbox Sign signature request ID."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "title": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The signature request title."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "subject": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The email subject used for the signature request."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "message": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The message used for the signature request."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "isComplete": {
                  "anyOf": [
                    {
                      "type": "boolean",
                      "description": "Whether all required signers have completed the request."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "isDeclined": {
                  "anyOf": [
                    {
                      "type": "boolean",
                      "description": "Whether a signer declined the request."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "hasError": {
                  "anyOf": [
                    {
                      "type": "boolean",
                      "description": "Whether Dropbox Sign reported an error on the request."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "testMode": {
                  "anyOf": [
                    {
                      "type": "boolean",
                      "description": "Whether the request was created in test mode."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "createdAt": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "description": "The creation timestamp returned by Dropbox Sign."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "expiresAt": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "description": "The expiration timestamp returned by Dropbox Sign."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "raw": {
                  "type": "object",
                  "properties": {},
                  "additionalProperties": true,
                  "description": "The raw Dropbox Sign API object."
                }
              },
              "additionalProperties": false,
              "description": "A normalized Dropbox Sign signature request."
            },
            "description": "Signature requests returned by Dropbox Sign."
          },
          "listInfo": {
            "type": "object",
            "properties": {
              "page": {
                "anyOf": [
                  {
                    "type": "integer",
                    "description": "The current page number returned by Dropbox Sign."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "numPages": {
                "anyOf": [
                  {
                    "type": "integer",
                    "description": "The total number of pages returned by Dropbox Sign."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "numResults": {
                "anyOf": [
                  {
                    "type": "integer",
                    "description": "The total number of matching resources."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "pageSize": {
                "anyOf": [
                  {
                    "type": "integer",
                    "description": "The requested or returned page size."
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "additionalProperties": false,
            "description": "Dropbox Sign pagination metadata."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw Dropbox Sign API object."
          }
        },
        "additionalProperties": false,
        "description": "A page of Dropbox Sign signature requests."
      }
    },
    {
      "id": "dropbox_sign.list_templates",
      "service": "dropbox_sign",
      "name": "list_templates",
      "description": "List Dropbox Sign templates accessible to the connected account with optional search and pagination.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "accountId": {
            "type": "string",
            "minLength": 1,
            "description": "The Dropbox Sign account ID to list resources for. Use all to include all team members."
          },
          "page": {
            "type": "integer",
            "minimum": 1,
            "description": "The page number to return. Dropbox Sign defaults to 1."
          },
          "pageSize": {
            "type": "integer",
            "minimum": 1,
            "maximum": 100,
            "description": "The number of objects per page. Dropbox Sign supports 1 through 100."
          },
          "query": {
            "type": "string",
            "minLength": 1,
            "description": "Search terms or field filters accepted by Dropbox Sign search."
          }
        },
        "additionalProperties": false,
        "description": "Input for listing Dropbox Sign templates."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "templates": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "templateId": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The Dropbox Sign template ID."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "title": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The template title."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "message": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The default template message."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "signerRoles": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {},
                    "additionalProperties": true,
                    "description": "The raw Dropbox Sign API object."
                  },
                  "description": "The raw signer roles configured on the template."
                },
                "ccRoles": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {},
                    "additionalProperties": true,
                    "description": "The raw Dropbox Sign API object."
                  },
                  "description": "The raw CC roles configured on the template."
                },
                "isCreator": {
                  "anyOf": [
                    {
                      "type": "boolean",
                      "description": "Whether the connected account created the template."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "canEdit": {
                  "anyOf": [
                    {
                      "type": "boolean",
                      "description": "Whether the connected account can edit the template."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "createdAt": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "description": "The creation timestamp returned by Dropbox Sign."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "raw": {
                  "type": "object",
                  "properties": {},
                  "additionalProperties": true,
                  "description": "The raw Dropbox Sign API object."
                }
              },
              "additionalProperties": false,
              "description": "A normalized Dropbox Sign template."
            },
            "description": "Templates returned by Dropbox Sign."
          },
          "listInfo": {
            "type": "object",
            "properties": {
              "page": {
                "anyOf": [
                  {
                    "type": "integer",
                    "description": "The current page number returned by Dropbox Sign."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "numPages": {
                "anyOf": [
                  {
                    "type": "integer",
                    "description": "The total number of pages returned by Dropbox Sign."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "numResults": {
                "anyOf": [
                  {
                    "type": "integer",
                    "description": "The total number of matching resources."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "pageSize": {
                "anyOf": [
                  {
                    "type": "integer",
                    "description": "The requested or returned page size."
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "additionalProperties": false,
            "description": "Dropbox Sign pagination metadata."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw Dropbox Sign API object."
          }
        },
        "additionalProperties": false,
        "description": "A page of Dropbox Sign templates."
      }
    }
  ]
}
