> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getscale.ng/llms.txt
> Use this file to discover all available pages before exploring further.

# Get LGAs in State

Retrieves all Local Government Areas mapped inside a specific State.

### Path Parameters

<ParamField path="stateId" type="number" required>
  The state database ID.
</ParamField>

<ResponseExample>
  ```json 200 OK theme={null}
  {
    "status": "success",
    "data": [
      {
        "id": 450,
        "name": "Ikeja",
        "stateId": 25
      },
      {
        "id": 451,
        "name": "Surulere",
        "stateId": 25
      }
    ]
  }
  ```

  ```json 400 Bad Request theme={null}
  {
    "message": "FORM_VALIDATION_ERROR",
    "code": 400,
    "validationErrors": [
      {
        "path": [
          "stateId"
        ],
        "message": "State not found"
      }
    ]
  }
  ```
</ResponseExample>
