# Create **POST /v1/files/** Create File ## Servers - Development Server: https://api-dev.classmanager.io (Development Server) - Localhost: https://localhost (Localhost) - Local (Valet): https://classmanager.test (Local (Valet)) - Staging Server: https://api-stage.classmanager.io (Staging Server) - Production Server: https://api.classmanager.io (Production Server) ## Parameters ### Body: application/json (object) Create file request - **entityId** (string) Entity ID - **purpose** (string) - **path** (string) Path ## Responses ### 200 successful operation #### Body: application/json (object) - **id** (string) File ID - **companyId** (string) Company ID - **entityId** (string) Entity ID - **name** (string) Name - **purpose** (string) - **url** (string) Url ### 403 Not authorized #### Body: application/json (object) - **statusCode** (number) Status Code - **messages** (array[string]) List of error messages - **exception** (object) Exception ### 422 Validation error #### Body: application/json (object) - **statusCode** (number) Status Code - **messages** (array[string]) List of error messages - **exception** (object) Exception [Powered by Bump.sh](https://bump.sh)