---
updatedAt: 2026-08-18T17:17:32.000Z
agentTools:
  projectIndex: https://docs.raptormaps.com/llms.txt
---

# POST Ingestor Upload Session

Create an upload session for ingesting external data from URLs and trigger file transfer to Raptor Maps.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Next Gen APIs",
    "description": "These are the next generation of apis for Raptor Maps. They are currently under development and should be treated as such as they won't always work.",
    "version": "0.1.0"
  },
  "paths": {
    "/ingestor/upload_sessions": {
      "post": {
        "tags": [
          "Data Upload"
        ],
        "summary": "POST Ingestor Upload Session",
        "description": "Create an upload session for ingesting external data from URLs and trigger file transfer to Raptor Maps.",
        "operationId": "create_ingestor_upload_session_endpoint_ingestor_upload_sessions_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "org_id",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "title": "Org Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateIngestorUploadSessionRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateIngestorUploadSessionResponse"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "CreateIngestorUploadSessionRequest": {
        "properties": {
          "upload_session_name": {
            "type": "string",
            "title": "Upload Session Name"
          },
          "order_id": {
            "type": "integer",
            "title": "Order Id"
          },
          "data_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              }
            ],
            "title": "Data Url"
          }
        },
        "type": "object",
        "required": [
          "upload_session_name",
          "order_id",
          "data_url"
        ],
        "title": "CreateIngestorUploadSessionRequest"
      },
      "CreateIngestorUploadSessionResponse": {
        "properties": {
          "upload_session_id": {
            "type": "integer",
            "title": "Upload Session Id"
          },
          "upload_session_uuid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Upload Session Uuid"
          }
        },
        "type": "object",
        "required": [
          "upload_session_id"
        ],
        "title": "CreateIngestorUploadSessionResponse"
      },
      "HTTPValidationError": {
        "properties": {
          "detail": {
            "items": {
              "$ref": "#/components/schemas/ValidationError"
            },
            "type": "array",
            "title": "Detail"
          }
        },
        "type": "object",
        "title": "HTTPValidationError"
      },
      "ValidationError": {
        "properties": {
          "loc": {
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "type": "array",
            "title": "Location"
          },
          "msg": {
            "type": "string",
            "title": "Message"
          },
          "type": {
            "type": "string",
            "title": "Error Type"
          }
        },
        "type": "object",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "title": "ValidationError"
      }
    },
    "securitySchemes": {
      "HTTPBearer": {
        "type": "http",
        "scheme": "bearer"
      }
    }
  },
  "servers": [
    {
      "description": "Production server",
      "url": "https://api.raptormaps.com/v2"
    }
  ]
}
```