Skip to content
Dashboard
Theme
Theme

List machine-to-machine clients

GET /v1/m2m_clients: List machine-to-machine clients.

View Markdown

GET /v1/m2m_clients

Scope
machine_clients:read
Auth
Secret key (sk_…)
Since
1.0
  • limit integer

    min 1 · max 100 · default 20

  • after string

    Cursor from next_cursor.

  • before string

  • organization string

    Only this organization’s clients.

  • 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/m2m_clients" \
-H "Authorization: Bearer $OHAUTHCAT_API_KEY"
Response 200
{
"object": "list",
"data": [
{
"id": "mcli_01J9Z3K5V7W8X9Y0Z1A2B3C4D5",
"object": "m2m_client",
"organization": "org_01J9Z3K5V7W8X9Y0Z1A2B3C4D5",
"name": "Acme Corp",
"auth_method": "client_secret",
"secret_hint": "example_secret_hint",
"previous_secret_expires_at": "2026-01-15T09:30:00Z",
"jwks": {},
"scopes": [
"organizations:read"
],
"audiences": [
"https://api.acme.com"
],
"access_token_seconds": 60,
"revoked_at": "2026-01-15T09:30:00Z",
"last_used_at": "2026-01-15T09:30:00Z",
"created_at": "2026-01-15T09:30:00Z",
"updated_at": "2026-01-15T09:30:00Z"
}
],
"has_more": true,
"next_cursor": "cur_01J9Z3K5V7W8X9Y0Z1A2B3C4D5"
}