| [ Web Proxy ] |
| Viewing: https://developers.cloudflare.com/api/resources/iam/subresources/oauth_clients/methods/list | [Back] [Original] |
List all OAuth clients for an account.
The preferred authorization scheme for interacting with the Cloudflare API. Create a token.
Authorization: Bearer Sn3lZJTBX6kkg7OdcBUAxOO963GEIyGQqnFTOFYYThe previous authorization scheme for interacting with the Cloudflare API, used in conjunction with a Global API key.
X-Auth-Email: user@example.comThe previous authorization scheme for interacting with the Cloudflare API. When possible, use API tokens instead of Global API keys.
X-Auth-Key: 144c9defac04969c7bfad8efaa8ea194OAuth Client ReadClient URI domain control verification state.
Array of OAuth grant types the client is allowed to use. authorization_code is required; refresh_token may be included optionally.
Indicates whether the client has a rotated secret that has not yet been deleted.
Timestamp when the OAuth client was promoted to public visibility.
Array of OAuth response types the client is allowed to use.
Array of OAuth scopes the client is allowed to request. Colon-delimited scopes are not accepted. Dot-delimited scopes are validated against available OAuth API scopes; simple identity scopes are allowed. Protocol scopes offline_access and openid are added or removed automatically based on grant_types and response_types.
curl https://api.cloudflare.com/client/v4/accounts/$ACCOUNT_ID/oauth_clients \
-H "Authorization: Bearer $CLOUDFLARE_API_TOKEN"{
"errors": [
{
"code": 1000,
"message": "message",
"documentation_url": "documentation_url",
"source": {
"pointer": "pointer"
}
}
],
"messages": [
{
"code": 1000,
"message": "message",
"documentation_url": "documentation_url",
"source": {
"pointer": "pointer"
}
}
],
"success": true,
"result": [
{
"client_id": "a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4",
"visibility": "private",
"allowed_cors_origins": [
"https://example.com"
],
"client_name": "My OAuth App",
"client_uri": "https://example.com",
"client_uri_verification": {
"status": "in_progress",
"text": "cloudflare_oauth_client_publisher=example"
},
"created_at": "2025-01-01T00:00:00Z",
"grant_types": [
"authorization_code",
"refresh_token"
],
"has_rotated_secret": false,
"logo_uri": "https://example.com/logo.png",
"policy_uri": "https://example.com/privacy",
"post_logout_redirect_uris": [
"https://example.com/logout"
],
"promoted_at": "2026-05-13T12:00:00Z",
"redirect_uris": [
"https://example.com/callback"
],
"response_types": [
"code"
],
"scopes": [
"account.read"
],
"token_endpoint_auth_method": "client_secret_post",
"tos_uri": "https://example.com/tos",
"updated_at": "2025-01-01T00:00:00Z"
}
],
"result_info": {
"count": 1,
"page": 1,
"per_page": 20,
"total_count": 2000
}
}{
"errors": [
{
"code": 1000,
"message": "message",
"documentation_url": "documentation_url",
"source": {
"pointer": "pointer"
}
}
],
"messages": [
{
"code": 1000,
"message": "message",
"documentation_url": "documentation_url",
"source": {
"pointer": "pointer"
}
}
],
"success": true,
"result": [
{
"client_id": "a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4",
"visibility": "private",
"allowed_cors_origins": [
"https://example.com"
],
"client_name": "My OAuth App",
"client_uri": "https://example.com",
"client_uri_verification": {
"status": "in_progress",
"text": "cloudflare_oauth_client_publisher=example"
},
"created_at": "2025-01-01T00:00:00Z",
"grant_types": [
"authorization_code",
"refresh_token"
],
"has_rotated_secret": false,
"logo_uri": "https://example.com/logo.png",
"policy_uri": "https://example.com/privacy",
"post_logout_redirect_uris": [
"https://example.com/logout"
],
"promoted_at": "2026-05-13T12:00:00Z",
"redirect_uris": [
"https://example.com/callback"
],
"response_types": [
"code"
],
"scopes": [
"account.read"
],
"token_endpoint_auth_method": "client_secret_post",
"tos_uri": "https://example.com/tos",
"updated_at": "2025-01-01T00:00:00Z"
}
],
"result_info": {
"count": 1,
"page": 1,
"per_page": 20,
"total_count": 2000
}
}| Web Proxy Viewer | New URL | Original Page |