Site Qwality M2M API Clients API
OAuth2 client_credentials clients for programmatic API access with scoped permissions.
OAuth2 client_credentials clients for programmatic API access with scoped permissions.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/siteqwality-com:siteqwality-com-m2m-api-clients-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Siteqwality Com M2M API Clients API
version: 0.1.0
contact:
name: Site Qwality Support
url: https://siteqwality.com
email: support@siteqwality.com
license:
name: Proprietary
description: 'Operations tagged M2M API Clients across 2 of this provider''s published API definitions: siteqwality-com-openapi-openapi.json, siteqwality-com-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.siteqwality.com
description: Production
tags:
- name: M2M API Clients
description: OAuth2 client_credentials clients for programmatic API access with scoped permissions.
paths:
/.well-known/oauth-authorization-server:
get:
tags:
- M2M API Clients
summary: OAuth2 authorization server metadata (RFC 8414)
operationId: metadata
responses:
'200':
description: Authorization server metadata
content:
application/json:
schema:
$ref: '#/components/schemas/AuthorizationServerMetadata'
servers:
- url: https://api.siteqwality.com
description: Production
/account/m2m_client:
get:
tags:
- M2M API Clients
summary: List the account's active M2M API clients.
operationId: list_m2m_clients
responses:
'200':
description: Active M2M clients
content:
application/json:
schema:
$ref: '#/components/schemas/M2MClientListResponse'
'401':
description: Missing or invalid authentication
'500':
description: Internal server error
security:
- bearer_auth: []
post:
tags:
- M2M API Clients
summary: Create an M2M API client. The response contains the full client secret.
operationId: create_m2m_client
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CreateM2MClientRequest'
required: true
responses:
'200':
description: Client created; the secret is only returned once
content:
application/json:
schema:
$ref: '#/components/schemas/M2MClientWithSecretResponse'
'400':
description: Invalid name or scopes, or client cap reached
'401':
description: Missing or invalid authentication
'403':
description: Caller lacks the owner or admin role
'500':
description: Internal server error
security:
- bearer_auth: []
servers:
- url: https://api.siteqwality.com
description: Production
/account/m2m_client/{m2m_client_id}:
delete:
tags:
- M2M API Clients
summary: Revoke an M2M API client.
operationId: delete_m2m_client
parameters:
- name: m2m_client_id
in: path
description: M2M client identifier (local id, not the Stytch client_id)
required: true
schema:
type: string
format: uuid
responses:
'200':
description: Client revoked
'401':
description: Missing or invalid authentication
'403':
description: Caller lacks the owner or admin role
'404':
description: Client not found
'500':
description: Internal server error
security:
- bearer_auth: []
servers:
- url: https://api.siteqwality.com
description: Production
/account/m2m_client/{m2m_client_id}/rotate_secret:
post:
tags:
- M2M API Clients
summary: Rotate an M2M client's secret.
operationId: rotate_m2m_client_secret
parameters:
- name: m2m_client_id
in: path
description: M2M client identifier (local id, not the Stytch client_id)
required: true
schema:
type: string
format: uuid
responses:
'200':
description: New secret; only returned once
content:
application/json:
schema:
$ref: '#/components/schemas/M2MClientWithSecretResponse'
'401':
description: Missing or invalid authentication
'403':
description: Caller lacks the owner or admin role
'404':
description: Client not found or revoked
'500':
description: Internal server error
security:
- bearer_auth: []
servers:
- url: https://api.siteqwality.com
description: Production
/oauth2/token:
post:
tags:
- M2M API Clients
summary: Exchange M2M client credentials for an access token (RFC 6749 section 4.4)
description: 'Accepts a form-encoded body, HTTP Basic client authentication, or a JSON
body. Returns a bare RFC 6749 token response with no envelope.'
operationId: token
requestBody:
description: 'Form-encoded: grant_type=client_credentials&client_id=...&client_secret=...[&scope=read:monitors write:incidents]'
content:
application/x-www-form-urlencoded:
schema:
type: string
required: true
responses:
'200':
description: Access token
content:
application/json:
schema:
$ref: '#/components/schemas/TokenResponse'
'400':
description: invalid_request, unsupported_grant_type, or invalid_scope
content:
application/json:
schema:
$ref: '#/components/schemas/TokenErrorResponse'
'401':
description: invalid_client
content:
application/json:
schema:
$ref: '#/components/schemas/TokenErrorResponse'
'429':
description: temporarily_unavailable (rate limited)
content:
application/json:
schema:
$ref: '#/components/schemas/TokenErrorResponse'
'503':
description: temporarily_unavailable (issuer unreachable)
content:
application/json:
schema:
$ref: '#/components/schemas/TokenErrorResponse'
servers:
- url: https://api.siteqwality.com
description: Production
components:
schemas:
M2MClientSummary:
type: object
description: 'One M2M client in list responses. Never contains a secret; only the last
four characters Stytch retains for display.'
required:
- id
- client_id
- name
- scopes
- created_at
properties:
id:
type: string
format: uuid
client_id:
type: string
description: Stytch client_id, the OAuth2 `client_id` used at the token endpoint.
name:
type: string
description:
type:
- string
- 'null'
scopes:
type: array
items:
type: string
created_at:
type: string
format: date-time
last_rotated_at:
type:
- string
- 'null'
format: date-time
TokenErrorResponse:
type: object
description: RFC 6749 section 5.2 error response.
required:
- error
properties:
error:
type: string
description: 'One of the RFC 6749 error codes: `invalid_request`, `invalid_client`,
`invalid_scope`, `unsupported_grant_type`, `temporarily_unavailable`.'
error_description:
type:
- string
- 'null'
description: 'Human-readable detail. Never distinguishes "unknown client" from
"wrong secret": both are `invalid_client` with the same description.'
AuthorizationServerMetadata:
type: object
description: 'RFC 8414 authorization server metadata, served at
`/.well-known/oauth-authorization-server` so client libraries can
auto-configure instead of being handed a URL to paste.'
required:
- issuer
- token_endpoint
- grant_types_supported
- token_endpoint_auth_methods_supported
- scopes_supported
- response_types_supported
properties:
issuer:
type: string
token_endpoint:
type: string
grant_types_supported:
type: array
items:
type: string
token_endpoint_auth_methods_supported:
type: array
items:
type: string
scopes_supported:
type: array
items:
type: string
response_types_supported:
type: array
items:
type: string
description: 'Empty: this server issues no authorization codes and no tokens by
redirect. RFC 8414 still expects the key to be present.'
CreateM2MClientRequest:
type: object
description: Body for `POST /account/m2m_client`.
required:
- name
- scopes
properties:
name:
type: string
description: Human-readable client name, e.g. "CI deploy hook".
description:
type:
- string
- 'null'
scopes:
type: array
items:
type: string
description: 'Granted scopes, e.g. `["read:monitors", "write:monitors"]`. Must be
non-empty and drawn from the documented scope taxonomy.'
TokenResponse:
type: object
description: RFC 6749 section 5.1 successful access-token response.
required:
- access_token
- token_type
- expires_in
properties:
access_token:
type: string
description: 'The bearer token to send as `Authorization: Bearer <token>`.'
token_type:
type: string
description: Always "Bearer" (RFC 6750 casing).
expires_in:
type: integer
format: int64
description: Lifetime in seconds, passed through from the issuer.
scope:
type:
- string
- 'null'
description: Space-delimited granted scopes. Absent when the token carries none.
M2MClientWithSecretResponse:
type: object
description: 'Response for create and rotate, the ONLY places a full secret appears.
The secret is never stored and can never be retrieved again.'
required:
- client
- client_secret
- token_endpoint
properties:
client:
$ref: '#/components/schemas/M2MClientSummary'
client_secret:
type: string
description: Full client secret. Shown exactly once; store it now.
token_endpoint:
type: string
description: OAuth2 client_credentials token endpoint for this environment.
M2MClientListResponse:
type: object
description: Response for `GET /account/m2m_client`.
required:
- clients
- token_endpoint
properties:
clients:
type: array
items:
$ref: '#/components/schemas/M2MClientSummary'
token_endpoint:
type: string
description: OAuth2 client_credentials token endpoint for this environment.
securitySchemes:
bearer_auth:
type: http
scheme: bearer
bearerFormat: API Key
description: 'Generate an API key in account settings and pass it as `Authorization: Bearer <KEY>`.'
x-refined-from:
- siteqwality-com-openapi-openapi.json
- siteqwality-com-openapi.json