---
updatedAt: 2025-12-25T23:16:58.000Z
agentTools:
  projectIndex: https://integrate.route4me.com/llms.txt
---

# Get Facility Custom Data

Get custom data for a facility. This endpoint performs the requested operation with facility details such as location, assets, and operational information.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Facility API",
    "description": "Facility API",
    "contact": {
      "name": "Route4Me",
      "url": "docs.route4me.com",
      "email": "support@route4me.com"
    },
    "license": {
      "name": "Apache 2.0",
      "url": "https://www.apache.org/licenses/LICENSE-2.0.html"
    },
    "version": "v5.0"
  },
  "servers": [
    {
      "url": "https://wh.route4me.com/modules/",
      "description": "Route4Me Staging API V5"
    }
  ],
  "paths": {
    "/api/v5.0/facilities/{facility_id}/custom-data": {
      "get": {
        "tags": [
          "Facilities Custom Data"
        ],
        "summary": "Facility custom data",
        "description": "Get custom data for a facility",
        "operationId": "9f0f7520007675c6da23775b33e1acf7",
        "parameters": [
          {
            "name": "facility_id",
            "in": "path",
            "description": "Facility identifier",
            "required": true,
            "schema": {
              "type": "string",
              "format": "hex32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "successful operation",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FacilityCustomDataResource"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "FacilityCustomDataResource": {
        "description": "Custom data key-value map for a single facility",
        "type": "object",
        "example": {
          "test_key_1": "test_value_1",
          "test_key_2": "test_value_2",
          "test_key_3": "test_value_3"
        },
        "additionalProperties": {
          "description": "Custom data value",
          "type": "string"
        }
      },
      "ErrorResponse": {
        "properties": {
          "status": {
            "type": "boolean"
          },
          "code": {
            "type": "integer"
          },
          "exit_code": {
            "type": "integer"
          },
          "error": {
            "type": "string"
          },
          "messages": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "type": "object"
      }
    }
  },
  "security": [
    {
      "ApiKeyQueryAuth": []
    },
    {
      "BearerAuth": []
    }
  ],
  "tags": [
    {
      "name": "Facilities Custom Data",
      "description": "Facilities Custom Data"
    }
  ]
}
```