---
title: "Get the next assignment for a user"
method: GET
path: "/api/v1/next-assignment/{userId}"
tags: ["content-allocation"]
---

# Get the next assignment for a user

`GET /api/v1/next-assignment/{userId}`

## Path parameters

- `userId` string, uuid, required

## Response `201`

- NextAssignmentGetByUserResponseDTO
  - `completedMissionsCount` number, required
  - `contentAllocation` object, required
    - `completedMissionIds` string[], required
    - `dueDate` string, date-time, nullable
    - `reference` object, required
      - `id` string, required
      - `type` 'mission' | 'track', required
    - `state` 'notStarted' | 'started' | 'completed', required
    - `type` 'autoTrackAllocation' | 'track' | 'managerAssigned' | 'refresher' | 'sprint' | 'selfEnrolled', required
  - `firstMission` object, nullable, required
    - `avatar` object, required — Avatar images for the mission persona
      - `cardUrl` string — Card-sized version of the avatar
      - `thumbnailUrl` string — Thumbnail version of the avatar
      - `url` string, required — Primary avatar image URL
    - `difficulty` string, required — Difficulty level of the mission
    - `duration` number, required — Expected duration of the mission in minutes
    - `id` string, required — Unique identifier for the mission
    - `sagaId` string, required — Identifier of the saga this mission belongs to
    - `scenario_description` string — Situational context for the seller entering this roleplay
    - `taskCount` integer, required — Number of scorecard tasks (items) defined for this mission
    - `title` string, required — Title of the mission
    - `trackId` string — Identifier of the track this mission belongs to (if any)
    - `trackTitle` string — Title of the track this mission belongs to (if any)
  - `title` string, nullable, required
  - `totalMissionsCount` number, required
  - `trackId` string, nullable, required

---

[API](https://skmtc.net/wejam/apis/jam.md) · [All operations](https://skmtc.net/wejam/apis/jam/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/wejam/jam/revisions/bd5a5f406bca/schema)
