/api/user-challenges/:id/notes
Requires authentication.
string
required
Bearer token obtained from
/api/auth/login or /api/auth/signup. Format: Bearer <token>.Path parameters
number
required
The numeric ID of the user challenge to update.
Request body
string
required
Progress notes for the challenge. Replaces any previously saved notes.
Example
Response
200 OK Returns the updated user challenge object with the newnotes value.
number
required
Unique numeric identifier for this user challenge.
string
required
UUID of the authenticated user.
number
required
ID of the challenge template this challenge is based on.
string
required
Current status of the challenge. One of
ACTIVE, COMPLETED, or ABANDONED.string
required
ISO 8601 timestamp of when the challenge was started.
string
ISO 8601 timestamp of completion.
null if the challenge has not been completed.string
required
The updated progress notes.
string
required
ISO 8601 timestamp of when the record was created.
string
required
ISO 8601 timestamp of this update.
Example response