code: def upload_create(self, data, filename=None, token=None, **kwargs):
          "https://developer.zendesk.com/rest_api/docs/core/attachments#upload-files"
          api_path = "/api/v2/uploads.json"
          api_query = {}
          if "query" in kwargs.keys():
              api_query.update(kwargs["query"])
              del kwargs["query"]
          if filename:
              api_query.update({
                  "filename": filename,
              })
          if token:
              api_query.update({
                  "token": token,
              })
          return self.call(api_path, query=api_query, method="POST", data=data, **kwargsf upload_create(self, data, filename=None, token=None, **kwargs):
          "https://developer.zendesk.com/rest_api/docs/core/attachments#upload-files"
          api_path = "/api/v2/uploads.json"
          api_query = {}
          if "query" in kwargs.keys():
              api_query.update(kwargs["query"])
              del kwargs["query"]
          if filename:
              api_query.update({
                  "filename": filename,
              })
          if token:
              api_query.update({
                  "token": token,
              })
          return self.call(api_path, query=api_query, method="POST", data=data, **kwargs)
docs: https://developer.zendesk.com/rest_api/docs/core/attachments#upload-files