Roadmaps API
Roadmaps are public pages that show the projects you choose, where customers vote and send requests. Everything the Roadmaps pages do is available here. These endpoints need the Public roadmap feature on your plan and a key with the projects permission. Deleting a roadmap or an item takes a person’s key.
Roadmap Object
{
"id": "rm_abc123",
"name": "Product roadmap",
"description": "Internal notes about this roadmap",
"slug": "product",
"publicUrl": "https://acme.cohort.page/roadmaps/product",
"archived": false,
"archivedAt": null,
"isPublic": true,
"publicTitle": "What we're building",
"publicSubtitle": "Vote for what you want next.",
"allowVoteRemoval": true,
"allowPublicRequests": true,
"requireEmailForRequests": true,
"respondentTag": "product-feedback",
"createdAt": 1763500000000,
"updatedAt": 1763500000000,
"projectCount": 6,
"voteCount": 148,
"requestCounts": { "open": 3, "linked": 9, "archived": 2 }
}projectCount, voteCount and requestCounts come with the list and with one roadmap; one roadmap also has personCount, the number of people who voted or sent a request on it.
| Field | Type | Description |
|---|---|---|
description | string or null | Your team’s notes; never public |
slug | string | The public link’s last part. 3–64 lowercase letters, numbers and dashes, unique in your workspace |
publicUrl | string or null | https://<your workspace URL>.cohort.page/roadmaps/<slug> |
archived | boolean | An archived roadmap is off the list and its public page is offline |
isPublic | boolean | Whether anyone with the link can see the page |
respondentTag | string or null | A tag for this roadmap’s voters and requesters |
createdAt, updatedAt | number | Milliseconds since the epoch |
Item Object
An item is a project made public on a roadmap. Only its public title, public description, public status and vote count reach the public page.
{
"id": "rmi_abc123",
"roadmapId": "rm_abc123",
"projectId": "proj_abc123",
"projectTitle": "Calendar sync v2",
"publicTitle": "Calendar sync",
"publicDescription": null,
"isPublic": true,
"publicStatus": "in_progress",
"onPublicPage": true,
"displayOrder": 0,
"voteCount": 12
}publicStatus is worked out from the project: not started and planning are planned; in progress, blocked and paused are in_progress; complete is shipped; a canceled or archived project is null and leaves the page.
Endpoints
| Method | Path | What it does |
|---|---|---|
GET | /api/v1/roadmaps | List roadmaps; add ?includeArchived=true for archived ones too |
POST | /api/v1/roadmaps | Create one: name, optional slug, publicTitle |
GET | /api/v1/roadmaps/{id} | One roadmap |
PATCH | /api/v1/roadmaps/{id} | Change the name, description or settings (any field of the roadmap object except ids, dates, counts and archived) |
POST | /api/v1/roadmaps/{id}/archive | Archive it: off the list, public page offline |
POST | /api/v1/roadmaps/{id}/unarchive | Bring it back |
DELETE | /api/v1/roadmaps/{id} | Delete it with its items, votes and requests |
GET | /api/v1/roadmaps/{id}/projects | Every project with its item on this roadmap, or null |
GET | /api/v1/roadmaps/{id}/items | The roadmap’s items, in order |
POST | /api/v1/roadmaps/{id}/items | Make a project public: projectId, optional publicTitle, publicDescription |
PATCH | /api/v1/roadmaps/{id}/items/{itemId} | publicTitle, publicDescription, or isPublic: false to take it off the page (its text and votes are kept) |
DELETE | /api/v1/roadmaps/{id}/items/{itemId} | Remove the item and its votes for good |
POST | /api/v1/roadmaps/{id}/items/reorder | orderedItemIds in the order the page should show |
GET | /api/v1/roadmaps/{id}/items/{itemId}/voters | Confirmed voters |
GET | /api/v1/roadmaps/{id}/requests?status=new,reviewed | Requests, newest first |
PATCH | /api/v1/roadmaps/{id}/requests/{requestId} | status (new, reviewed, mapped, archived); mapped links it to itemId and counts the requester as a voter |
POST | /api/v1/roadmaps/{id}/requests/{requestId}/task | Turn it into a backlog task, optionally in projectId |
GET | /api/v1/roadmaps/people?roadmapId=&itemId= | Everyone who voted or sent a request; optionally only those on one roadmap, or whose vote counts on one item |
GET | /api/v1/roadmaps/people/{personId} | One person with their votes and requests (activity, newest first) and their roadmaps |
DELETE | /api/v1/roadmaps/people/{personId} | Remove a person: their votes go, their requests stay without their name or address |
Example
curl -X POST https://api.cohort.bot/api/v1/roadmaps/rm_abc123/items \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "projectId": "proj_abc123", "publicTitle": "Calendar sync" }'