---
title: "List the caller's travel goals, optionally filtered by status, collection or trip."
method: GET
path: "/v1/goals"
tags: ["Public API v1"]
---

# List the caller's travel goals, optionally filtered by status, collection or trip.

`GET /v1/goals`

## Request

- Base URL: `https://api.mynextadventure.cloud` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mynextadventure.cloud/v1/goals`
- Auth: API key in header `X-API-Key`

## Query parameters

- `status` 'dreaming' | 'planning' | 'visited'
- `collection` string
- `tripId` string

## Response `200`

- GoalListV1Dto
  - `goals` TravelGoalV1Dto[], required
    - `id` string, required
    - `userId` string, required
    - `name` string, required
    - `description` string
    - `notes` string
    - `location` GoalLocationV1Dto
      - `name` string
      - `formattedAddress` string
      - `coordinates` GoalCoordinatesV1Dto
        - `lat` number, required
        - `lng` number, required
      - `googlePlaceId` string
    - `country` string
    - `region` string
    - `type` 'country' | 'region' | 'city' | 'place' | 'experience', required
    - `status` 'dreaming' | 'planning' | 'visited', required
    - `priority` 'someday' | 'soon' | 'must_do', required
    - `tags` string[]
    - `imageUrl` string
    - `userUploadedImageUrl` string
    - `links` GoalLinkV1Dto[]
      - `url` string, required: URL the link points to.
      - `title` string
      - `description` string
      - `imageUrl` string
    - `bestTimeToVisit` string[]
    - `estimatedBudget` number
    - `currency` string
    - `estimatedDuration` string
    - `linkedTripId` string: Trip id this goal is currently linked to (when status=planning or visited).
    - `linkedTripName` string
    - `visitedDate` string, date-time
    - `collectionIds` string[]
    - `createdAt` string, date-time, required
    - `updatedAt` string, date-time, required

---

[API](https://skmtc.dev/mynextadventure/apis/mynextadventure-public-api.md) · [All operations](https://skmtc.dev/mynextadventure/apis/mynextadventure-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/mynextadventure/apis/mynextadventure-public-api/revisions/a246114e73a0?raw)
