API Documentation
The Pathwayful API is easy to use and free for all plans.
Submit Feedback
Submit feedback for a public roadmap. Feedback requires approval before it is visible. No authentication required.
POST
https://api.pathwayful.com/roadmaps/:slug/feedback
Headers
-
Content-TypeREQUIRED STRINGapplication/json
Request body
{
"title": "Mobile app support",
"description": "It would be great to have a mobile app"
}
Response body
{
"success": true,
"message": "Your feedback is pending approval"
}
Code Examples
curl -X POST "https://api.pathwayful.com/roadmaps/product-roadmap/feedback" \
-H "Content-Type: application/json" \
-d '{
"title": "Mobile app support",
"description": "It would be great to have a mobile app"
}'
// Submit feedback for a public roadmap (no auth required)
const slug = 'product-roadmap';
const response = await fetch(`https://api.pathwayful.com/roadmaps/${slug}/feedback`, {
method: 'POST',
headers: {
'Content-Type': 'application/json'
},
body: JSON.stringify({
title: 'Mobile app support',
description: 'It would be great to have a mobile app'
})
});
const result = await response.json();
console.log('Feedback submitted:', result.message);
# Submit feedback for a public roadmap (no auth required)
import requests
slug = 'product-roadmap'
data = {
'title': 'Mobile app support',
'description': 'It would be great to have a mobile app'
}
response = requests.post(
f'https://api.pathwayful.com/roadmaps/{slug}/feedback',
json=data
)
result = response.json()
print(f"Feedback submitted: {result['message']}")
// Submit feedback for a public roadmap (no auth required)
package main
import (
"bytes"
"encoding/json"
"fmt"
"net/http"
)
func main() {
slug := "product-roadmap"
data := map[string]string{
"title": "Mobile app support",
"description": "It would be great to have a mobile app",
}
jsonData, _ := json.Marshal(data)
url := "https://api.pathwayful.com/roadmaps/" + slug + "/feedback"
resp, err := http.Post(url, "application/json", bytes.NewBuffer(jsonData))
if err != nil {
panic(err)
}
defer resp.Body.Close()
var result map[string]interface{}
json.NewDecoder(resp.Body).Decode(&result)
fmt.Printf("Feedback submitted: %v\n", result["message"])
}
# Submit feedback for a public roadmap (no auth required)
require 'net/http'
require 'json'
require 'uri'
slug = 'product-roadmap'
uri = URI("https://api.pathwayful.com/roadmaps/#{slug}/feedback")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = true
request = Net::HTTP::Post.new(uri)
request['Content-Type'] = 'application/json'
request.body = {
title: 'Mobile app support',
description: 'It would be great to have a mobile app'
}.to_json
response = http.request(request)
result = JSON.parse(response.body)
puts "Feedback submitted: #{result['message']}"
<?php
// Submit feedback for a public roadmap (no auth required)
$slug = 'product-roadmap';
$data = [
'title' => 'Mobile app support',
'description' => 'It would be great to have a mobile app'
];
$ch = curl_init("https://api.pathwayful.com/roadmaps/{$slug}/feedback");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, ['Content-Type: application/json']);
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data));
$response = curl_exec($ch);
curl_close($ch);
$result = json_decode($response, true);
echo "Feedback submitted: " . $result['message'];