Dashboard snapshot
One snapshot to open the dashboard: session, workspaces, channels, notifications (the last 20 and unreadCount), preferences, billing (summary), account (security summary: MFA, passkeys and a short session list), onboarding and counters (unanswered comments and queued posts, by network and by channel), each section with the same body as its own route, plus version. session, workspaces, account and onboarding exist only for a dashboard session (null with an API key). No third-party calls: it reads what the sync jobs stored. Send If-None-Match with the previous ETag (W/"<version>") to get 304 when nothing changed (1 database round trip). Answers 404 route_not_found while the server keeps it switched off.
Authorization: Bearer praeko_… and X-Praeko-Contract: en. Always send both.Example
curl "https://praeko.app/v1/bootstrap" \
-H "Authorization: Bearer $PRAEKO_KEY" \
-H "X-Praeko-Contract: en"const res = await fetch("https://praeko.app/v1/bootstrap", {
method: "GET",
headers: {
"Authorization": `Bearer ${process.env.PRAEKO_KEY}`,
"X-Praeko-Contract": "en",
},
});
console.log(res.status, await res.json());// O @praeko/sdk ainda não tem um método para esta rota: use o fetch (aba JavaScript).
const res = await fetch("https://praeko.app/v1/bootstrap", {
method: "GET",
headers: {
"Authorization": `Bearer ${process.env.PRAEKO_KEY}`,
"X-Praeko-Contract": "en",
},
});
console.log(res.status, await res.json());import os
import requests
resp = requests.get(
"https://praeko.app/v1/bootstrap",
headers={
"Authorization": f"Bearer {os.environ['PRAEKO_KEY']}",
"X-Praeko-Contract": "en",
},
)
print(resp.status_code, resp.json())<?php
$ch = curl_init('https://praeko.app/v1/bootstrap');
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
"Authorization: Bearer " . getenv("PRAEKO_KEY"),
'X-Praeko-Contract: en',
],
]);
$resposta = curl_exec($ch);
echo curl_getinfo($ch, CURLINFO_HTTP_CODE), " ", $resposta, PHP_EOL;
curl_close($ch);package main
import (
"fmt"
"io"
"net/http"
"os"
)
func main() {
req, err := http.NewRequest("GET", "https://praeko.app/v1/bootstrap", nil)
if err != nil {
panic(err)
}
req.Header.Set("Authorization", "Bearer "+os.Getenv("PRAEKO_KEY"))
req.Header.Set("X-Praeko-Contract", "en")
resp, err := http.DefaultClient.Do(req)
if err != nil {
panic(err)
}
defer resp.Body.Close()
out, _ := io.ReadAll(resp.Body)
fmt.Println(resp.Status, string(out))
}require "net/http"
require "uri"
uri = URI("https://praeko.app/v1/bootstrap")
request = Net::HTTP::Get.new(uri)
request["Authorization"] = "Bearer #{ENV['PRAEKO_KEY']}"
request["X-Praeko-Contract"] = "en"
response = Net::HTTP.start(uri.hostname, uri.port, use_ssl: true) { |http| http.request(request) }
puts response.code, response.bodyusing System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using var client = new HttpClient();
using var request = new HttpRequestMessage(HttpMethod.Get, "https://praeko.app/v1/bootstrap");
request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("PRAEKO_KEY"));
request.Headers.Add("X-Praeko-Contract", "en");
using var response = await client.SendAsync(request);
Console.WriteLine($"{(int)response.StatusCode} {await response.Content.ReadAsStringAsync()}");import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
public class Main {
public static void main(String[] args) throws Exception {
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://praeko.app/v1/bootstrap"))
.header("Authorization", "Bearer " + System.getenv("PRAEKO_KEY"))
.header("X-Praeko-Contract", "en")
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse<String> response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.statusCode() + " " + response.body());
}
}http GET "https://praeko.app/v1/bootstrap" \
"Authorization: Bearer $PRAEKO_KEY" \
"X-Praeko-Contract: en"fetch.Response
| Success status | When |
|---|---|
200 |
Success. |
{
"version": "42.3fa9c1d2",
"session": {
"email": "marcone@example.com",
"name": "Marcone",
"avatar": null,
"role": "owner",
"scope": "admin",
"workspace": {
"id": "ws_01KA3V0R5D8M2WQ7X4HT9NZ1BF",
"name": "Marcone"
},
"platformAdmin": false,
"expiresAt": "2026-12-07T14:02:11.482Z",
"language": {
"saved": "pt-BR",
"waitlist": null
},
"reviewAccount": {
"expiresAt": "2026-12-07T14:02:11.482Z",
"platform": "meta"
}
},
"workspaces": {
"workspaces": [
{
"id": "ws_01KA3V0R5D8M2WQ7X4HT9NZ1BF",
"name": "Marcone",
"role": "owner",
"current": true
}
]
},
"channels": {
"channels": [
{
"network": "youtube",
"supported": true,
"id": "01KA3V0R5D8M2WQ7X4HT9NZ1BF",
"connected": true,
"detail": "Marcone's Channel",
"name": "Marcone's Channel",
"timezone": "America/Sao_Paulo",
"slots": 3,
"avatar": "/v1/channels/youtube/avatar",
"default": true
},
{
"network": "instagram",
"supported": true,
"id": "01KA3V1G4C7N9PXS2WQ6HM8TDZ",
"connected": true,
"detail": "via the Meta API",
"timezone": "America/Sao_Paulo",
"slots": 0,
"meta": {
"connected": true,
"username": "dev.ocioso"
},
"name": "dev.ocioso"
},
{
"network": "tiktok",
"supported": true,
"connected": false,
"detail": "not connected (the TIKTOK_CLIENT_KEY and TIKTOK_CLIENT_SECRET secrets are missing)"
},
{
"network": "facebook",
"supported": false,
"comingSoon": true,
"connected": false,
"detail": "coming soon"
}
]
},
"notifications": {
"notifications": [
{
"id": "01KA3ZB6T8N2QW5XH0D7MV4CRE",
"event": "postFailed",
"data": {
"event": "post.failed",
"title": "The test that only failed on Mondays",
"network": "youtube",
"error": "YouTube rejected the video (daily quota exceeded)",
"postId": "01KA3W2Y6H1RC5ZQ8M0T4VXE7N"
},
"link": {
"type": "post",
"id": "01KA3W2Y6H1RC5ZQ8M0T4VXE7N"
},
"read": false,
"createdAt": "2026-11-07T14:02:11.482Z"
}
],
"unreadCount": 1,
"next": "01KA3ZB6T8N2QW5XH0D7MV4CRE"
},
"preferences": {
"theme": "dark",
"language": "pt-BR",
"notifications": {
"postSent": {
"email": false,
"panel": true
},
"postFailed": {
"email": true,
"panel": true
},
"scheduledFail": {
"email": false,
"panel": true
},
"weeklySummary": {
"email": false,
"panel": true
},
"newComment": {
"email": false,
"panel": true
}
}
},
"billing": {
"courtesy": null,
"plan": "free",
"interval": null,
"price": {
"amount": 0,
"currency": "BRL",
"interval": "month"
},
"enforced": false,
"configured": true,
"missing": [],
"status": "none",
"access": {
"allowed": true,
"reason": "billing_off",
"graceEndsAt": null
},
"grandfathered": false,
"currentPeriodEnd": null,
"cancelAtPeriodEnd": false,
"canManage": false,
"lastCheckoutId": null,
"effectivePlan": "free"
},
"account": {
"email": "marcone@example.com",
"name": "Marcone",
"avatar": null,
"role": "owner",
"workspace": {
"id": "ws_01KA3V0R5D8M2WQ7X4HT9NZ1BF",
"name": "Marcone"
},
"platformAdmin": false,
"createdAt": "2026-11-07T14:02:11.482Z",
"deletionRequestedAt": null,
"mfa": {
"totp": true,
"required": false,
"recoveryCodesLeft": 8
},
"passkeys": 1,
"sessions": [
{
"current": true,
"createdAt": "2026-11-07T14:02:11.482Z",
"lastUsedAt": "2026-11-07T14:02:11.482Z"
}
]
},
"onboarding": {
"publishTo": [
"youtube"
],
"updatedAt": "2026-11-07T14:02:11.482Z",
"guide": null
},
"counters": {
"comments": {
"unanswered": 3,
"byNetwork": {
"youtube": 3
},
"byChannel": {
"01KA3V0R5D8M2WQ7X4HT9NZ1BF": 3
}
},
"queue": {
"total": 2,
"byNetwork": {
"youtube": 2
},
"byChannel": {
"01KA3V0R5D8M2WQ7X4HT9NZ1BF": 2
}
}
}
}Each section is the body of the matching route (channels = GET /v1/channels, notifications = the first page of GET /v1/notifications…), so the dashboard opens from one read. session, workspaces, account and onboarding are null with an API key; account is the body of GET /v1/account plus sessions (current, createdAt, lastUsedAt). counters.comments is null while the local comment copy is switched off; counters.queue counts scheduled, running or failed items. version is the number inside the weak ETag (W/"<version>"); null while the server has no version counter. With an If-None-Match equal to the ETag, the response is 304 with no body. The response is private, no-cache. channels.channels[].detail is free text the server writes in Portuguese; the example shows it in English.
Errors
| Status | code | When |
|---|---|---|
| 404 | route_not_found |
The server does not switch this route on yet (an old server answers the same): read each section's own route. |
Errors on any route
| Status | code | When |
|---|---|---|
| 401 | unauthorized |
The Authorization: Bearer … header is missing. |
| 401 | invalid_api_key |
The key does not exist. |
| 401 | revoked_api_key |
The key has been revoked. |
| 401 | expired_api_key |
The key has expired. |
| 403 | forbidden |
The key's scope is not enough for this route (see the scope badge). |
| 429 | rate_limited |
The per-minute request limit was exceeded. |
The body of every error is { "error": { "code", "message", "details"? } }. See all error codes.
Try it
The live test uses your key and your account. It stays off when you are not signed in.