Help Center
Get help center
Get the live help collection and flows for a project (public endpoint)
Get help center Get the live help collection and flows for a project (public endpoint) GET https://api.appgram.dev/portal/help curl --request GET \ --url 'https://api.appgram.dev/portal/help?project_id=<project_id>' Authentication: None 200: OK 400: Bad Request 404: Not Found
Authorizations
NoneNo management API key is required. Supply the project context and any customer credential listed in this operation.
Query parameters
project_idstringqueryResponses
200OK
400Bad Request
404Not Found
curl --request GET \
--url 'https://api.appgram.dev/portal/help?project_id=<project_id>'const response = await fetch("https://api.appgram.dev/portal/help?project_id=<project_id>", {
method: "GET",
headers: {},
});
if (!response.ok) throw new Error(`HTTP ${response.status}`);
console.log(await response.text());
import requests
response = requests.request(
"GET",
"https://api.appgram.dev/portal/help?project_id=<project_id>",
headers={},
timeout=30,
)
response.raise_for_status()
print(response.text)
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.appgram.dev/portal/help?project_id=<project_id>"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}import Foundation
var request = URLRequest(url: URL(string: "https://api.appgram.dev/portal/help?project_id=<project_id>")!)
request.httpMethod = "GET"
let (data, _) = try await URLSession.shared.data(for: request)
print(String(decoding: data, as: UTF8.self))
// Requires OkHttp 4.x.
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val request = Request.Builder()
.url("https://api.appgram.dev/portal/help?project_id=<project_id>")
.method("GET", null)
.build()
OkHttpClient().newCall(request).execute().use { response ->
println(response.body?.string())
}
}
// Requires package:http in pubspec.yaml.
import 'package:http/http.dart' as http;
Future<void> main() async {
final request = http.Request("GET", Uri.parse("https://api.appgram.dev/portal/help?project_id=<project_id>"));
request.headers.addAll({
});
final response = await request.send();
print(await response.stream.bytesToString());
}
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("https://api.appgram.dev/portal/help?project_id=<project_id>"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}{
"data": {
"created_at": "1970-01-01T00:00:00.000Z",
"description": "string",
"flows": [
{
"articles": [],
"collection": {},
"collection_id": "string",
"color": "string",
"created_at": "1970-01-01T00:00:00.000Z",
"decision_nodes": [],
"description": "string",
"display_type": "accordion",
"icon": "string",
"id": "string",
"name": "string",
"slug": "string",
"sort_order": 0,
"updated_at": "1970-01-01T00:00:00.000Z",
"wizard_steps": []
}
],
"id": "string",
"is_live": true,
"name": "string",
"project_id": "string",
"rag_enabled": true,
"updated_at": "1970-01-01T00:00:00.000Z",
"version": "string"
},
"success": true
}