## Bug description

Since users can now be part of multiple projects, the `get_team_from_token` function used in capture and decide endpoints cannot work reliably with personal API keys. These endpoints should be e.g. nested under `/api/projects/:project_id` _or_ should accept `project_id` in request body.

#### *Thank you* for your bug report – we love squashing them!

posthog/api/test/test_personal_api_keys.py
TESTS_API = True
    def test_create_personal_api_key(self):
        label = "Test key uno"
        response = self.client.post("/api/personal_api_keys", {"label": label})
        self.assertEqual(response.status_code, 201)
        key: PersonalAPIKey = PersonalAPIKey.objects.get()
        response_data = response.json()
        response_data.pop("created_at")
        self.assertDictEqual(
            response_data,
            {
                "id": key.id,
                "label": label,
                "last_used_at": None,
                "user_id": self.user.id,
                "team_id": self.team.id,
                "value": key.value,
            },
        )
    def test_create_personal_api_key_label_required(self):
        response = self.client.post("/api/personal_api_keys/", {"label": ""})
        self.assertEqual(response.status_code, 400)
        response_data = response.json()
        self.assertDictEqual(
            response_data,
            {"type": "validation_error", "code": "blank", "detail": "This field may not be blank.", "attr": "label"},
        )
    def test_delete_personal_api_key(self):