---
updatedAt: 2025-10-30T13:55:49.000Z
agentTools:
  projectIndex: https://developer.breezeway.io/llms.txt
---

# Add Task Photo

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "breezeway-api",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.breezeway.io/public/inventory/v1"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "Authorization",
        "x-bearer-format": "",
        "x-default": "JWT {{token}}"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/{task_id}/photos": {
      "post": {
        "description": "",
        "operationId": "post_{task_id}photos",
        "responses": {
          "201": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "description": "Photo ID"
                    },
                    "url": {
                      "type": "string",
                      "description": "Image url"
                    },
                    "include_in_task_report": {
                      "type": "boolean",
                      "description": "Wheter photo is included in public report"
                    }
                  },
                  "required": [
                    "id"
                  ]
                }
              }
            }
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "task_id",
            "schema": {
              "type": "string"
            },
            "required": true,
            "description": "Breezeway task id"
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "file": {
                    "type": "string",
                    "format": "binary"
                  },
                  "include_in_task_report": {
                    "type": "string",
                    "enum": [
                      "true",
                      "false"
                    ],
                    "default": "true",
                    "description": "Determines if photo will be shown in shareable task report"
                  }
                },
                "required": [
                  "file"
                ]
              }
            }
          }
        }
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```