# Create an avatar for the entity **POST /v1/avatars** Create an avatar for the entity. ## 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) Request for creating or updating an avatar for the entity. - **entityId** (string) Entity ID - **path** (string) Uploaded profile picture image 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)