List URL Groups
List all your URL Groups
1 min read
get/v2/topics
Request example
Response
get/v2/topics
Authorization
1 alternative authorization method available — see the spec for details.
Responses
application/json
200
Skip to main contentDocumentation index
Fetch the complete documentation index at: /docs/llms.txt
Ask it with GET /docs/ask?q=<keywords or question>. Short keywords rank best.
Use these to discover all available pages before exploring further.
Feature requests: /docs/common/help/feature-requests.md lists what users asked for and how to vote for a request or add one.
Page rating: `GET /docs/feedback?path=<this page's path>&helpful=true` (or `false`) records whether this page helped. An optional `comment` (URL-encoded, at most 500 characters) says what was missing or wrong. It is anonymous and needs no key. Comments hold no code, secrets or personal data.
curl --request GET \
--url https://qstash-eu-central-1.upstash.io/v2/topics \
--header 'Authorization: Bearer <token>'import requests
url = "https://qstash-eu-central-1.upstash.io/v2/topics"
headers = {
"Authorization": "Bearer <token>",
}
response = requests.request("GET", url, headers=headers)
print(response.text)const response = await fetch('https://qstash-eu-central-1.upstash.io/v2/topics', {
method: 'GET',
headers: {
'Authorization': 'Bearer <token>'
}
});
const data = await response.json();
console.log(data);<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => 'https://qstash-eu-central-1.upstash.io/v2/topics',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => [
'Authorization: Bearer <token>',
],
]);
$response = curl_exec($curl);
curl_close($curl);
echo $response;package main
import (
"fmt"
"io"
"net/http"
)
func main() {
url := "https://qstash-eu-central-1.upstash.io/v2/topics"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://qstash-eu-central-1.upstash.io/v2/topics"))
.header("Authorization", "Bearer <token>")
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse<String> response = HttpClient.newHttpClient()
.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());require 'uri'
require 'net/http'
url = URI('https://qstash-eu-central-1.upstash.io/v2/topics')
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = url.scheme == 'https'
request = Net::HTTP::Get.new(url)
request['Authorization'] = 'Bearer <token>'
response = http.request(request)
puts response.read_body[
{
"name": "<string>",
"createdAt": 1,
"updatedAt": 1,
"endpoints": [
{
"name": "<string>",
"url": "<string>"
}
]
}
]1 alternative authorization method available — see the spec for details.
Was this page helpful?