---
updatedAt: 2026-05-28T21:10:30.000Z
agentTools:
  projectIndex: https://docs.hivestack.com/llms.txt
---

# Get Locations for Event

Returns a list of locations targeted by active lineitems or creatives also targeting this event with their current event status.

The current event status can be true, false or null if the value is not defined.

# OpenAPI definition

```json
{
  "openapi": "3.0.3",
  "info": {
    "title": "Custom Events",
    "version": "2",
    "description": "Custom Event management and data pushes",
    "contact": {
      "email": "support@perion.com"
    }
  },
  "tags": [
    {
      "name": "Event Data Management"
    }
  ],
  "servers": [
    {
      "url": "https://apps.hivestack.com/api/v2",
      "description": ""
    }
  ],
  "security": [
    {
      "hs-auth": []
    }
  ],
  "components": {
    "securitySchemes": {
      "hs-auth": {
        "name": "hs-auth",
        "type": "apiKey",
        "in": "header",
        "description": "The value should follow the following format: `apikey access_key:secret_key`"
      }
    },
    "schemas": {
      "LocationStatus": {
        "title": "LocationStatus",
        "type": "object",
        "example": {
          "location_id": 12345,
          "name": "Montréal",
          "latitude": 45.12,
          "longitude": -72.12,
          "current_status": true,
          "valid_until_utc": "2021-06-23T11:21:03Z"
        },
        "description": "The current status of a location can either be true, false or null if the value is not set",
        "properties": {
          "location_id": {
            "type": "integer",
            "minimum": 0,
            "multipleOf": 1,
            "example": 12345
          },
          "name": {
            "type": "string",
            "example": "Montréal"
          },
          "latitude": {
            "type": "number",
            "minimum": -90,
            "maximum": 90,
            "example": 45.12
          },
          "longitude": {
            "type": "number",
            "minimum": -180,
            "maximum": 180,
            "example": -72.12
          },
          "current_status": {
            "type": "boolean",
            "nullable": true,
            "example": true
          },
          "valid_until_utc": {
            "type": "string",
            "nullable": true,
            "format": "date-time",
            "example": "2021-06-23T11:21:03Z"
          }
        }
      }
    },
    "responses": {
      "LocationStatuses": {
        "description": "Example response",
        "content": {
          "application/json": {
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/LocationStatus"
              }
            },
            "examples": {
              "example-1": {
                "value": [
                  {
                    "location_id": 12345,
                    "name": "Montréal",
                    "latitude": 45.12,
                    "longitude": -72.12,
                    "current_status": true,
                    "valid_until_utc": "2021-06-23T11:21:03Z"
                  }
                ]
              }
            }
          }
        }
      }
    }
  },
  "paths": {
    "/customevents/{uuid}/locations": {
      "parameters": [
        {
          "name": "uuid",
          "in": "path",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid",
            "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
            "example": "ea0e5979-ed3e-48fc-b213-0f86940a25a6"
          },
          "description": "The custom event uuid"
        }
      ],
      "get": {
        "summary": "Get Locations for Event",
        "tags": [
          "Event Data Management"
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/LocationStatuses"
          }
        },
        "operationId": "get-uuid-locations",
        "description": "Returns a list of locations targeted by active lineitems or creatives also targeting this event with their current event status.\n\nThe current event status can be true, false or null if the value is not defined."
      }
    }
  }
}
```