JSON Web Key Set for JWT verification
curl --request GET \
--url https://api.mudraid.ai/.well-known/jwks.jsonimport requests
url = "https://api.mudraid.ai/.well-known/jwks.json"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.mudraid.ai/.well-known/jwks.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://api.mudraid.ai/.well-known/jwks.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://api.mudraid.ai/.well-known/jwks.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://api.mudraid.ai/.well-known/jwks.json")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.mudraid.ai/.well-known/jwks.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{
"keys": [
{
"kty": "RSA",
"use": "sig",
"alg": "RS256",
"kid": "muid_sk_a3f8...32hex",
"n": "<string>",
"e": "<string>"
}
]
}platform-middleware
JSON Web Key Set for JWT verification
The platform middleware fetches this to verify JWT signatures locally
without per-request MudraID calls. Returns every key currently
considered valid for verification — that is, the active signing key
plus any previous (rotated-but-not-retired) keys.
Cache hint: middleware should cache for ~1 hour and refresh
immediately on encountering an unknown kid. The endpoint sets
Cache-Control: public, max-age=3600.
GET
/
.well-known
/
jwks.json
JSON Web Key Set for JWT verification
curl --request GET \
--url https://api.mudraid.ai/.well-known/jwks.jsonimport requests
url = "https://api.mudraid.ai/.well-known/jwks.json"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.mudraid.ai/.well-known/jwks.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://api.mudraid.ai/.well-known/jwks.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://api.mudraid.ai/.well-known/jwks.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://api.mudraid.ai/.well-known/jwks.json")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.mudraid.ai/.well-known/jwks.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{
"keys": [
{
"kty": "RSA",
"use": "sig",
"alg": "RS256",
"kid": "muid_sk_a3f8...32hex",
"n": "<string>",
"e": "<string>"
}
]
}Response
200 - application/json
Key set
Show child attributes
Show child attributes

