---
title: "Parse a client URL to extract parameters and route info. Roles: public."
method: GET
path: "/api/client-routes/match"
tags: ["Client Routes"]
---

# Parse a client URL to extract parameters and route info. Roles: public.

`GET /api/client-routes/match`

## Query parameters

- `appKey` string
- `url` string

## Response `200`

OK

- ClientRouteMatchResponse
  - `success` boolean
  - `error` string
  - `match` ClientRouteMatch
    - `route` 'CHAT_GROUP_MESSAGE' | 'CHAT_MEMBER_MESSAGE' | 'GROUP_EVENT_ICS' | 'PAGE_PLAYLIST_CONTENT' | 'PAGE_PLAYLIST' | 'PAGE_CONTENT' | 'PAGE' | 'CONTENT' | 'ACTIVITY' | 'COURSE' | 'PROGRAM' | 'MEMBERSHIP_PROGRAMS' | 'PASSES' | 'CHALLENGE' | 'MY_CERTS' | 'MY_CHALLENGES' | 'MY_COURSES' | 'MY_PLAYLISTS' | 'MY_WHITEBOARDS' | 'MEMBER_DIRECTORY' | 'BANNED_USERS' | 'EVENTS' | 'EVENTS_POS'
    - `params` ClientRouteParams
      - `membershipId` integer
      - `pageId` integer
      - `contentId` integer
      - `eventId` integer
      - `playlistId` integer
      - `programId` integer
      - `memberId` integer
      - `isPrivatePage` boolean
      - `isPrivateMembership` boolean
      - `privatePage` boolean
      - `privateMembership` boolean
    - `isMatch` boolean

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not found
- `500` — Internal server error

---

[API](https://skmtc.dev/mobilecoach/apis/untitled-api.md) · [All operations](https://skmtc.dev/mobilecoach/apis/untitled-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/mobilecoach/untitled-api/revisions/f2568e11c0ab/schema)
