Skip to main content
GET
/
v1
/
api
/
search-alerts
List my search alerts
curl --request GET \
  --url http://localhost:3091/v1/api/search-alerts \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": 123,
    "departureCity": "<string>",
    "arrivalCity": "<string>",
    "isActive": true,
    "emailDigest": true,
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z"
  }
]

Authorizations

Authorization
string
header
required

JWT access token from POST /v1/api/auth/login

Response

Search alerts retrieved successfully

id
integer<int32>
departureCity
string
arrivalCity
string
isActive
boolean
emailDigest
boolean
createdAt
string<date-time>
updatedAt
string<date-time>