Read Bluesky client metadata
curl --request GET \
--url https://posted-api.example.com/social/bluesky/client-metadata.jsonimport requests
url = "https://posted-api.example.com/social/bluesky/client-metadata.json"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://posted-api.example.com/social/bluesky/client-metadata.json', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://posted-api.example.com/social/bluesky/client-metadata.json",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://posted-api.example.com/social/bluesky/client-metadata.json"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://posted-api.example.com/social/bluesky/client-metadata.json")
.asString();require 'uri'
require 'net/http'
url = URI("https://posted-api.example.com/social/bluesky/client-metadata.json")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"client_id": "https://posted-api.example.test/social/bluesky/client-metadata.json",
"client_name": "Posted",
"application_type": "web",
"token_endpoint_auth_method": "private_key_jwt"
}{
"error": {
"code": "<string>",
"message": "<string>",
"requestId": "<string>"
}
}Read Bluesky client metadata
Serves the configured public OAuth client metadata. Returns 404 when Bluesky is not configured.
GET
/
social
/
bluesky
/
client-metadata.json
Read Bluesky client metadata
curl --request GET \
--url https://posted-api.example.com/social/bluesky/client-metadata.jsonimport requests
url = "https://posted-api.example.com/social/bluesky/client-metadata.json"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://posted-api.example.com/social/bluesky/client-metadata.json', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://posted-api.example.com/social/bluesky/client-metadata.json",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://posted-api.example.com/social/bluesky/client-metadata.json"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://posted-api.example.com/social/bluesky/client-metadata.json")
.asString();require 'uri'
require 'net/http'
url = URI("https://posted-api.example.com/social/bluesky/client-metadata.json")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"client_id": "https://posted-api.example.test/social/bluesky/client-metadata.json",
"client_name": "Posted",
"application_type": "web",
"token_endpoint_auth_method": "private_key_jwt"
}{
"error": {
"code": "<string>",
"message": "<string>",
"requestId": "<string>"
}
}No signed-in session is required. Endpoint-specific tokens, setup secrets or challenges may still be required.
Serves the configured public OAuth client metadata. Returns 404 when Bluesky is not configured.
Request conventions · API keys · MCP connections
Was this page helpful?
