List the account's active M2M API clients. Secrets are never included; they are only shown at create/rotate time.
GET
/account/m2m_client/
const url = 'https://api.siteqwality.com/account/m2m_client/';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.siteqwality.com/account/m2m_client/ \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations ”Responses
Section titled “ Responses ”Active M2M clients
Media type application/json
Response for GET /account/m2m_client.
object
clients
required
Array<object>
One M2M client in list responses. Never contains a secret; only the last four characters Stytch retains for display.
object
id
required
string format: uuid
client_id
required
Stytch client_id, the OAuth2 client_id used at the token endpoint.
string
name
required
string
description
string | null
scopes
required
Array<string>
created_at
required
string format: date-time
last_rotated_at
string | null format: date-time
token_endpoint
required
OAuth2 client_credentials token endpoint for this environment.
string
Example generated
{ "clients": [ { "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "client_id": "example", "name": "example", "description": "example", "scopes": [ "example" ], "created_at": "2026-04-15T12:00:00Z", "last_rotated_at": "2026-04-15T12:00:00Z" } ], "token_endpoint": "example"}Missing or invalid authentication
Internal server error