/api/challenge-templates/:id
Requires authentication.
Bearer token obtained from
/api/auth/login or /api/auth/signup. Format: Bearer <token>.Path parameters
The numeric ID of the challenge template to retrieve.
Example
Response
200 OKUnique numeric identifier for the template.
Display name of the challenge.
Full description of the challenge goal and instructions.
Number of consecutive days the challenge runs.
ISO 8601 timestamp of when the template was created.
ISO 8601 timestamp of the last update to the template.
Example response
Errors
| Status | Description |
|---|---|
401 | Missing, invalid, or expired token. |
404 | No challenge template found for the given ID. |