curl --location --request POST 'https://api.yourapp.com/v1/public/topics.create' \--header 'Authorization: Bearer SUBSCRIBER_JWT_TOKEN' \--header 'Content-Type: application/json' \--data-raw '{ "title": "Add dark mode to mobile app", "description": "Need dark mode for iOS and Android apps", "text": "It would be great to have dark mode support across all platforms.", "roadmapId": "roadmap-uuid-123", "stageId": "stage-uuid-456", "meta": { "projectId": "mobile-app", "feedback": true }}'
Copy
{ "data": { "id": "topic-uuid-new", "urlId": "xyz789", "url": "/add-dark-mode-to-mobile-app-xyz789", "title": "Add dark mode to mobile app", "description": "Need dark mode for iOS and Android apps", "text": "It would be great to have dark mode support across all platforms.", "publishedAt": "2024-01-17T15:00:00Z", "createdAt": "2024-01-17T15:00:00Z", "updatedAt": "2024-01-17T15:00:00Z", "roadmapId": "roadmap-uuid-123", "stageId": "stage-uuid-456", "subscriberId": "sub-uuid-789", "voteCount": 0, "commentCount": 0, "meta": { "projectId": "mobile-app", "feedback": true } }}
Topics
Create Topic
Create a new topic (feature request) on the roadmap. Supports both authenticated subscribers and anonymous users.
POST
/
v1
/
public
/
topics.create
Copy
curl --location --request POST 'https://api.yourapp.com/v1/public/topics.create' \--header 'Authorization: Bearer SUBSCRIBER_JWT_TOKEN' \--header 'Content-Type: application/json' \--data-raw '{ "title": "Add dark mode to mobile app", "description": "Need dark mode for iOS and Android apps", "text": "It would be great to have dark mode support across all platforms.", "roadmapId": "roadmap-uuid-123", "stageId": "stage-uuid-456", "meta": { "projectId": "mobile-app", "feedback": true }}'
Copy
{ "data": { "id": "topic-uuid-new", "urlId": "xyz789", "url": "/add-dark-mode-to-mobile-app-xyz789", "title": "Add dark mode to mobile app", "description": "Need dark mode for iOS and Android apps", "text": "It would be great to have dark mode support across all platforms.", "publishedAt": "2024-01-17T15:00:00Z", "createdAt": "2024-01-17T15:00:00Z", "updatedAt": "2024-01-17T15:00:00Z", "roadmapId": "roadmap-uuid-123", "stageId": "stage-uuid-456", "subscriberId": "sub-uuid-789", "voteCount": 0, "commentCount": 0, "meta": { "projectId": "mobile-app", "feedback": true } }}
# With subscriber authenticationAuthorization: Bearer SUBSCRIBER_JWT_TOKEN# Or with API key (allows anonymous topics if enabled)Authorization: Bearer YOUR_API_KEY
curl --location --request POST 'https://api.yourapp.com/v1/public/topics.create' \--header 'Authorization: Bearer SUBSCRIBER_JWT_TOKEN' \--header 'Content-Type: application/json' \--data-raw '{ "title": "Add dark mode to mobile app", "description": "Need dark mode for iOS and Android apps", "text": "It would be great to have dark mode support across all platforms.", "roadmapId": "roadmap-uuid-123", "stageId": "stage-uuid-456", "meta": { "projectId": "mobile-app", "feedback": true }}'
Copy
{ "data": { "id": "topic-uuid-new", "urlId": "xyz789", "url": "/add-dark-mode-to-mobile-app-xyz789", "title": "Add dark mode to mobile app", "description": "Need dark mode for iOS and Android apps", "text": "It would be great to have dark mode support across all platforms.", "publishedAt": "2024-01-17T15:00:00Z", "createdAt": "2024-01-17T15:00:00Z", "updatedAt": "2024-01-17T15:00:00Z", "roadmapId": "roadmap-uuid-123", "stageId": "stage-uuid-456", "subscriberId": "sub-uuid-789", "voteCount": 0, "commentCount": 0, "meta": { "projectId": "mobile-app", "feedback": true } }}
If allowAnonymousFeedback is enabled for the team:
Copy
// Anonymous topic with email{ name: 'John Doe', email: 'john@example.com', title: 'Feature request', // ... other fields}// Anonymous topic without name (gets random name){ email: 'john@example.com', title: 'Feature request', // name will be auto-generated like "Blue Happy Elephant"}