Skip to content
Dashboard
Theme
Theme

The RFC 9728 document the resource server publishes

GET /v1/oauth/resources/{resource}/protected_resource_metadata: The RFC 9728 document the resource server publishes.

View Markdown

GET /v1/oauth/resources/{resource}/protected_resource_metadata

Scope
oauth:read
Auth
Secret key (sk_…)
Since
1.0
  • resource string Required

  • OhAuthCat-Version string

    Minor version; defaults to the environment’s pin.

Errors share one shape; see the error code catalogue.

curl -X GET \
"https://api.ohauthcat.com/v1/oauth/resources/ores_01J9Z3K5V7W8X9Y0Z1A2B3C4D5/protected_resource_metadata" \
-H "Authorization: Bearer $OHAUTHCAT_API_KEY"
Response 200
{
"resource": "example_resource",
"authorization_servers": [
"example_authorization_server"
],
"scopes_supported": [
"example_scopes_supported"
],
"bearer_methods_supported": [
"example_bearer_methods_supported"
],
"resource_name": "example_resource_name"
}