Skip to content

The OAuth clients the user registered.

GET
/v1/clients
curl --request GET \
--url 'https://example.com/api/auth/v1/clients?limit=20&offset=0' \
--cookie access_token=<access_token>

Oldest first. A client’s secret is never shown again.

limit
integer
default: 20 >= 1 <= 100
offset
integer
0

A page of clients.

Media typeapplication/json
object
clients
required
Array<object>
object
id
required
string
name
required
string
redirect_uris
required
Array<string>
scopes
required
Array<string>
Allowed values: user:read user:write clients:read clients:write
created_at
required
string format: date-time
limit
required
integer
offset
required
integer

Example

{
"clients": [
{
"scopes": [
"user:read"
]
}
]
}

The request is malformed; errors names the fields.

Media typeapplication/problem+json

An RFC 9457 problem.

object
type
required
string
title
required
string
status
required
integer
detail
string
instance
string
request_id
string
errors
object
key
additional properties
string

Example generated

{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example",
"request_id": "example",
"errors": {
"additionalProperty": "example"
}
}

No access token, or one that is invalid or expired.

Media typeapplication/problem+json

An RFC 9457 problem.

object
type
required
string
title
required
string
status
required
integer
detail
string
instance
string
request_id
string
errors
object
key
additional properties
string

Example generated

{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example",
"request_id": "example",
"errors": {
"additionalProperty": "example"
}
}
WWW-Authenticate
string

The token lacks a scope or isn’t the right kind, or the request came from another origin.

Media typeapplication/problem+json

An RFC 9457 problem.

object
type
required
string
title
required
string
status
required
integer
detail
string
instance
string
request_id
string
errors
object
key
additional properties
string

Example generated

{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example",
"request_id": "example",
"errors": {
"additionalProperty": "example"
}
}

The service failed; the problem says nothing more.

Media typeapplication/problem+json

An RFC 9457 problem.

object
type
required
string
title
required
string
status
required
integer
detail
string
instance
string
request_id
string
errors
object
key
additional properties
string

Example generated

{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example",
"request_id": "example",
"errors": {
"additionalProperty": "example"
}
}