Story
presalytics · Analytics
This API is the main entry point for creating, editing and publishing analytics throught the Presalytics API
Authentication
Sample Requests
Returns a list of stories for this user identifie via the access token presentated to the api
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/presalytics.io/story/0.3.1/?include_outline=true&include_relationships=true"
import requests
params = {
"include_outline": "true",
"include_relationships": "true"
}
response = requests.get(
"https://api.apis.guru/v2/specs/presalytics.io/story/0.3.1/",
params=params,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/presalytics.io/story/0.3.1/');
url.searchParams.set('include_outline', 'true');
url.searchParams.set('include_relationships', 'true');
const response = await fetch(url);
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/presalytics.io/story/0.3.1/")
q := baseURL.Query()
q.Set("include_outline", "true")
q.Set("include_relationships", "true")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/presalytics.io/story/0.3.1/")
uri.query = URI.encode_www_form({
"include_outline" => "true",
"include_relationships" => "true"
})
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/presalytics.io/story/0.3.1/?" . http_build_query([
"include_outline" => "true",
"include_relationships" => "true"
]);
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));pass rendering metadata to the client-side scripts
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/presalytics.io/story/0.3.1/environment/"
import requests
response = requests.get(
"https://api.apis.guru/v2/specs/presalytics.io/story/0.3.1/environment/",
)
print(response.json())const url = 'https://api.apis.guru/v2/specs/presalytics.io/story/0.3.1/environment/'; const response = await fetch(url); const data = await response.json(); console.log(data);
package main
import (
"fmt"
"io"
"net/http"
)
func main() {
targetURL := "https://api.apis.guru/v2/specs/presalytics.io/story/0.3.1/environment/"
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/presalytics.io/story/0.3.1/environment/")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/presalytics.io/story/0.3.1/environment/";
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));json-formatted version of this spec with the tags removed to help with codegen processes
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/presalytics.io/story/0.3.1/no_tags_spec"
import requests
response = requests.get(
"https://api.apis.guru/v2/specs/presalytics.io/story/0.3.1/no_tags_spec",
)
print(response.json())const url = 'https://api.apis.guru/v2/specs/presalytics.io/story/0.3.1/no_tags_spec'; const response = await fetch(url); const data = await response.json(); console.log(data);
package main
import (
"fmt"
"io"
"net/http"
)
func main() {
targetURL := "https://api.apis.guru/v2/specs/presalytics.io/story/0.3.1/no_tags_spec"
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/presalytics.io/story/0.3.1/no_tags_spec")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/presalytics.io/story/0.3.1/no_tags_spec";
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Postman Setup Guide
- See official documentation for authentication and setup.
What can you build with Story?
Story is a Analytics API. Developers commonly use analytics APIs for:
- tracking product usage and user behaviour
- building custom reporting and BI dashboards
- measuring marketing and campaign performance
- running funnel, retention, and cohort analysis
- aggregating metrics from multiple data sources
No authentication required. This API is open — no signup or key needed. Ideal for quick prototypes and public-facing features. Story is free to use, making it a low-risk choice to experiment with.
New to APIs? Read our beginner's guide