> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.getsinbad.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.getsinbad.com/_mcp/server.

# Get session verification keys

GET https://us-central1-sinbad-staging-env.cloudfunctions.net/b2b-v1/v1/.well-known/jwks.json

Get session verification keys.

**Credential:** None

**Before you call**

- No authentication required.

Public Sinbad RS256 keys only. Offline JWT verification is insufficient for authorization; live session state must also be checked.

> Confirm with Sinbad that this endpoint is enabled in your environment.

**Errors**

| Status | Code | What to do |
| --- | --- | --- |
| 503 | `UPSTREAM_ERROR` | Retry with backoff; preserve the same idempotency key for a repeated mutation. |

Reference: https://docs.getsinbad.com/api-reference/public/signing-keys

## Response

### 200

JSON Web Key Set

- `keys` (list of V1WellKnownJwksJsonGetResponsesContentApplicationJsonSchemaKeysItems, required)

## Errors

### 503 Service Unavailable Error

Service temporarily unavailable.

- `error` (V1WellKnownJwksJsonGetResponsesContentApplicationJsonSchemaError, required)

## Types

### V1WellKnownJwksJsonGetResponsesContentApplicationJsonSchemaKeysItems

- `kty` (string, required)
- `use` (string, required)
- `alg` (string, required)
- `kid` (string, required)
- `e` (string, required)
- `n` (string, required)

### V1WellKnownJwksJsonGetResponsesContentApplicationJsonSchemaError

- `code` (string, required)
- `numericId` (integer, required)
- `message` (string, required)
- `requestId` (string, optional)
- `details` (map from string to any, optional)

## Examples

**Response**

```json
{
  "keys": [
    {
      "kty": "RSA",
      "use": "sig",
      "alg": "RS256",
      "kid": "example-key",
      "e": "AQAB",
      "n": "ua67g9VWXZFXm6hZo5731Wjt1C4e42junkwkeWl1vw3N8_I05NHhPTjpj8WcNFGj2HgZEJjhK-6eHCGOYzKGKHoabNaHAZQLNZ38KN8s9RNdnSYpwEOky4U4O4AOGMDoV0ecU_NLjWQL-R5yHs1gmkgGSiYve8Wxi-TcIf16-qZzhmKIzmeEoCCTAIcG9xJMIH3ZbyTX2JjZ3D9tMeuL5_lLgdLXdCDnYed5WpJACZPlk2ES1H6-fVjiwCkIA29wFjNb8tCg3d3rSplreqTIPKR4TcHQyFEvvwQwhhXGTxMVju_f6nR6JcNnXiLtP_ql2sGZdo1_x6NGF5hLBUqFMQ"
    }
  ]
}
```

**SDK Code**

```python Success
import requests

url = "https://us-central1-sinbad-staging-env.cloudfunctions.net/b2b-v1/v1/.well-known/jwks.json"

response = requests.get(url)

print(response.json())
```

```javascript Success
const url = 'https://us-central1-sinbad-staging-env.cloudfunctions.net/b2b-v1/v1/.well-known/jwks.json';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Success
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://us-central1-sinbad-staging-env.cloudfunctions.net/b2b-v1/v1/.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(res)
	fmt.Println(string(body))

}
```

```ruby Success
require 'uri'
require 'net/http'

url = URI("https://us-central1-sinbad-staging-env.cloudfunctions.net/b2b-v1/v1/.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
```

```java Success
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://us-central1-sinbad-staging-env.cloudfunctions.net/b2b-v1/v1/.well-known/jwks.json")
  .asString();
```

```php Success
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://us-central1-sinbad-staging-env.cloudfunctions.net/b2b-v1/v1/.well-known/jwks.json');

echo $response->getBody();
```

```csharp Success
using RestSharp;

var client = new RestClient("https://us-central1-sinbad-staging-env.cloudfunctions.net/b2b-v1/v1/.well-known/jwks.json");
var request = new RestRequest(Method.GET);
IRestResponse response = client.Execute(request);
```

```swift Success
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "https://us-central1-sinbad-staging-env.cloudfunctions.net/b2b-v1/v1/.well-known/jwks.json")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```