# Upload an image to the storage server and return the url **POST /{environment}/images** ## Servers - https://domain.tld/api/v2: https://domain.tld/api/v2 () ## Authentication methods - Bearer token ## Parameters ### Path parameters - **environment** (string) The environment the image will be uploaded from ### Body: multipart/form-data (object) The image to upload and the container where it will be stored - **image** () The image to upload - **container** (string) The container where the image will be stored,default container will be used if not specified , you can specify subdirectories by separating them with a slash ## Responses ### 201 Returns the created Url #### Body: application/json (object) - **url** (string) ### 401 Unauthorized. #### Body: application/json (object) - **message** (string) ### 403 Forbidden - You don't have permission to access this route ### 404 Not found - The container you specified does not exist #### Body: application/json (object) - **message** (string) ### 422 Unprocessable Content #### Body: application/json (object) - **message** (string) Error message. - **errors** (object) [Powered by Bump.sh](https://bump.sh)