---
updatedAt: 2025-06-02T22:58:27.000Z
agentTools:
  projectIndex: https://developer.retrotax-aci.com/llms.txt
---

# post

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "version": "2018-11-19T07:39:37Z",
    "title": "Retrotax TCID"
  },
  "paths": {
    "/clients/upload": {
      "post": {
        "parameters": [
          {
            "name": "Content-Type",
            "in": "header",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-API-KEY",
            "in": "header",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-AUTH-TOKEN",
            "in": "header",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-AUTH-IV",
            "in": "header",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/clientUploads"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "200 response",
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              },
              "Access-Control-Allow-Origin": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Content-Type-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "Pragma": {
                "schema": {
                  "type": "string"
                }
              },
              "Expires": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "description": "400 response",
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              },
              "Access-Control-Allow-Origin": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Content-Type-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "Pragma": {
                "schema": {
                  "type": "string"
                }
              },
              "Expires": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "401": {
            "description": "401 response",
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              },
              "Access-Control-Allow-Origin": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Content-Type-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "Pragma": {
                "schema": {
                  "type": "string"
                }
              },
              "Expires": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "403": {
            "description": "403 response",
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              },
              "Access-Control-Allow-Origin": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Content-Type-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "Pragma": {
                "schema": {
                  "type": "string"
                }
              },
              "Expires": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "404 response",
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              },
              "Access-Control-Allow-Origin": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Content-Type-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "Pragma": {
                "schema": {
                  "type": "string"
                }
              },
              "Expires": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    }
  },
  "servers": [
    {
      "url": "https://api.retrotax-aci.com"
    }
  ],
  "components": {
    "schemas": {
      "clientUploads": {
        "type": "object",
        "properties": {
          "email": {
            "type": "string",
            "description": "Email address of uploader (confirmation email will be sent to this email address).",
            "default": "example@retrotax-aci.com"
          },
          "client_name": {
            "type": "string",
            "description": "Name of the client.",
            "default": "Retrotax"
          },
          "files": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "file_name": {
                  "type": "string",
                  "description": "Base64 encoded string.",
                  "default": "employees.csv"
                },
                "file_type": {
                  "type": "string",
                  "description": "Type of the File.",
                  "default": "text/csv"
                },
                "contents": {
                  "type": "string",
                  "description": "Contents of the file.",
                  "default": "iVBORw0KGgoAAAANSUhEUgAABkgAAAAjCAYAAADfa4adAAABfGlDQ1BJQ0MgUHJvZmlsZQAAKJFjYGA"
                }
              }
            }
          }
        },
        "title": "clientUploads"
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```