curl --silent --show-error --fail-with-body --request GET \
--url 'https://api.example.com/api/admin/oauth/grants' \
--header 'Authorization: Bearer YOUR_API_KEY'
[
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"clientId": "string",
"createdAt": "2026-08-31T14:22:05Z"
}
]
List OAuth grants (MCP connector)
Array of grants
GET
/
api
/
admin
/
oauth
/
grants
curl --silent --show-error --fail-with-body --request GET \
--url 'https://api.example.com/api/admin/oauth/grants' \
--header 'Authorization: Bearer YOUR_API_KEY'
[
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"clientId": "string",
"createdAt": "2026-08-31T14:22:05Z"
}
]
Response
object[] — each element:
Status codes
| Code | Meaning |
|---|---|
200 | Array of grants |
401 | Error |
Using this contract
Read the source OpenAPI document for declared schemas and alternatives. This page also includes documented corrections from the spec overlays. Example IDs and values are illustrative; replace them with records from your workspace.curl --silent --show-error --fail-with-body --request GET \
--url 'https://api.example.com/api/admin/oauth/grants' \
--header 'Authorization: Bearer YOUR_API_KEY'
[
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"clientId": "string",
"createdAt": "2026-08-31T14:22:05Z"
}
]
Last modified on November 13, 2026