/api/challenge-templates/:id
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 challenge template to retrieve.
Example
Response
200 OKnumber
required
Unique numeric identifier for the template.
string
required
Display name of the challenge.
string
required
Full description of the challenge goal and instructions.
number
required
Number of consecutive days the challenge runs.
string
required
ISO 8601 timestamp of when the template was created.
string
required
ISO 8601 timestamp of the last update to the template.
Example response