---
title: "GET /users/{userId}/timeslots/by-day/{day}"
method: GET
path: "/users/{userId}/timeslots/by-day/{day}"
---

# GET /users/{userId}/timeslots/by-day/{day}

`GET /users/{userId}/timeslots/by-day/{day}`

## Request

- Base URL: `https://api.mamaearth.ca` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mamaearth.ca/users/{userId}/timeslots/by-day/{day}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/mamaearth/apis/mama-earth-api/docs/users/:userId/timeslots/by-day/:day/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `userId` integer, required
- `day` 1 | 2 | 3 | 4 | 5 | 6 | 7, required: Represents the days of the week starting with Sunday as 1.

## Response `200`

getSelectedTimeslotByDay 200 response

- OndTimeslot
  - `id` integer, required
  - `name` string, required
  - `sortOrder` integer, required
  - `orderLimit` integer, required
  - `dayId` 1 | 2 | 3 | 4 | 5 | 6 | 7, required: Represents the days of the week starting with Sunday as 1.
  - `startTime` string, partial-time, required
  - `endTime` string, partial-time, required
  - `deliveryFee` number, required
  - `active` boolean, required
  - `isAllDay` boolean, required

---

[API](https://skmtc.dev/mamaearth/apis/mama-earth-api.md) - [All operations](https://skmtc.dev/mamaearth/apis/mama-earth-api/llms.txt) - [OpenAPI document](https://skmtc.dev/mamaearth/apis/mama-earth-api/revisions/2693a8db8dbd?raw)
