Every API here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for apis
7 MCP tools reach this
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.
All 92 tools →
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/codeb:codeb-csc-rqes-api"
All apis
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.
Get an API 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: CodeB Sovereign Communications — Public Csc Rqes API
version: 2026-10-13 csc-rqes
summary: REST + WebSocket + OpenID Connect + OpenID4VP + OpenID4VCI + LOTL + Federation + SIP-over-WebSocket surface, all multi-tenant by Host header. Aloaha-owned, built from scratch, hosted in Malta.
description: 'This spec covers every publicly reachable endpoint exposed by the CodeB Sovereign Communications platform: the OIDC provider + EU Wallet verifier (oidc.ashx), the OpenID4VCI issuer (vci.ashx), the LOTL trust-anchor cache (lotl.ashx), the RP-certificate CA (rp-cert.ashx), the chat + file-transfer platform (chat.ashx + chat-ws.ashx + chat-invite/widget/email .ashx), the property-management inbox (pms.ashx), the per-tenant admin surface (signal.ashx), the v1 REST outbound-AI + numbers + transcripts (api.ashx/v1), the bridge health passthroughs (/sip-tls/health, /sip-ws/health, /sfu/health), and remote signing for EU Digital Identity Wallets (CSC v2 profile /rqes/csc/v2, also answered at /csc/rqes/v2, on csc.ashx + its OAuth 2.0 server csc-oauth.ashx). Every endpoint is tenant-scoped by the Host header; there is no cross-tenant data access. Import this file into Postman, Insomnia, Swagger UI or any OpenAPI-3-compatible tool to explore the surface. Machine-generated clients welcome. Authentication: `oidc-bearer` = an OIDC access-token minted by /oauth2/v1/token; `hmac-admin` = X-CodeB-Admin-Signature header = hex(HMAC-SHA256(WebPhone:AdminSharedSecret, bucketName + ''|'' + Host)). Many admin endpoints accept EITHER bearer OR HMAC.'
contact:
name: Aloaha Limited
url: https://www.aloaha.com/contact.html
license:
name: Proprietary — Aloaha Limited
url: https://www.aloaha.com/legal.html
termsOfService: https://www.aloaha.com/legal.html
servers:
- url: https://phone.aloaha.com
description: Primary production tenant
- url: https://phone.codeb.io
description: Development / conformance tenant
- url: https://{tenant}
description: Any tenant domain — replace {tenant} with your provisioned host
variables:
tenant:
default: phone.aloaha.com
security: []
tags:
- name: csc-rqes
description: 'Remote signing for EU Digital Identity Wallets (Cloud Signature Consortium API v2.0.0.2 profile + its OAuth 2.0 authorization server). Advanced electronic signatures (AdES) with a per-user signing certificate. Base URI for wallets: https:///rqes/csc/v2 (the same API is also answered at /csc/rqes/v2).'
paths:
/rqes/csc/v2/info:
post:
tags:
- csc-rqes
operationId: cscRqesInfo
summary: CSC v2 service metadata for EU wallets (GET also accepted)
description: Publishes the OAuth 2.0 base URI (oauth2) of the remote-signing authorization server. The classic /csc/v2/info is unchanged.
requestBody:
required: false
content:
application/json:
schema:
type: object
properties:
lang:
type: string
responses:
'200':
description: Service metadata
content:
application/json:
schema:
$ref: '#/components/schemas/CscRqesInfo'
/rqes/csc/v2/credentials/list:
post:
tags:
- csc-rqes
operationId: cscRqesCredentialsList
summary: List the signed-in user's signing credential
security:
- cscServiceToken: []
- cscCredentialToken: []
requestBody:
content:
application/json:
schema:
type: object
properties:
credentialInfo:
type: boolean
description: true adds credentialInfos[]
certificates:
type: string
enum:
- none
- single
- chain
certInfo:
type: boolean
authInfo:
type: boolean
onlyValid:
type: boolean
responses:
'200':
description: Credential ids (and details when credentialInfo=true)
content:
application/json:
schema:
type: object
properties:
credentialIDs:
type: array
items:
type: string
credentialInfos:
type: array
items:
$ref: '#/components/schemas/CscRqesCredentialInfo'
required:
- credentialIDs
'401':
description: Missing or invalid access token
content:
application/json:
schema:
$ref: '#/components/schemas/CscRqesError'
/rqes/csc/v2/credentials/info:
post:
tags:
- csc-rqes
operationId: cscRqesCredentialsInfo
summary: Details of one signing credential (CSC v2 shape)
security:
- cscServiceToken: []
- cscCredentialToken: []
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
credentialID:
type: string
certificates:
type: string
enum:
- none
- single
- chain
required:
- credentialID
responses:
'200':
description: Credential details
content:
application/json:
schema:
$ref: '#/components/schemas/CscRqesCredentialInfo'
'400':
description: Unknown credentialID
content:
application/json:
schema:
$ref: '#/components/schemas/CscRqesError'
'401':
description: Missing or invalid access token
content:
application/json:
schema:
$ref: '#/components/schemas/CscRqesError'
/rqes/csc/v2/signatures/signHash:
post:
tags:
- csc-rqes
operationId: cscRqesSignHash
summary: Sign document hashes with a credential-scope token (no SAD)
description: Every hash must be one of the hashes the user confirmed for this token, and the token covers numSignatures signatures in total. ECDSA signatures are returned DER-encoded (Ecdsa-Sig-Value), ready for CMS / PAdES. A SAD from the classic flow is still accepted with an OIDC bearer.
security:
- cscCredentialToken: []
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
credentialID:
type: string
hashes:
type: array
items:
type: string
contentEncoding: base64
hashAlgorithmOID:
type: string
const: 2.16.840.1.101.3.4.2.1
signAlgo:
type: string
examples:
- 1.2.840.10045.4.3.2
signAlgoParams:
type: string
operationMode:
type: string
const: S
required:
- credentialID
- hashes
responses:
'200':
description: One base64 signature per hash, in request order
content:
application/json:
schema:
type: object
properties:
signatures:
type: array
items:
type: string
contentEncoding: base64
required:
- signatures
'400':
description: credentialID or hash not covered by the authorization, or no signatures left
content:
application/json:
schema:
$ref: '#/components/schemas/CscRqesError'
'401':
description: 'Missing token, or a service token (WWW-Authenticate: error=insufficient_scope)'
content:
application/json:
schema:
$ref: '#/components/schemas/CscRqesError'
/csc/rqes/oauth2/pushed_authorize:
post:
tags:
- csc-rqes
operationId: cscRqesPar
summary: Pushed authorization request (RFC 9126)
security:
- cscClientBasic: []
- {}
description: Same parameters as the authorization endpoint, as form fields. Client authentication is optional here (checked at the token endpoint).
requestBody:
required: true
content:
application/x-www-form-urlencoded:
schema:
type: object
properties:
response_type:
type: string
description: Must be code.
client_id:
type: string
description: Registered client id.
redirect_uri:
type: string
description: Registered redirect URI, e.g. rqes://oauth/callback. May be omitted when the client has exactly one.
scope:
type: string
description: service or credential (CSC v2 section 8.4).
state:
type: string
description: Opaque client state, returned unchanged.
code_challenge:
type: string
description: PKCE S256 challenge (required).
code_challenge_method:
type: string
description: Must be S256.
prompt:
type: string
description: login forces a fresh sign-in.
credentialID:
type: string
description: 'scope=credential: the credential to authorize.'
numSignatures:
type: integer
description: 'scope=credential: number of signatures, 1-10, equal to the number of hashes.'
hashes:
type: string
description: 'scope=credential: comma-separated SHA-256 document hashes (base64url; base64 and URL-encoded base64 accepted).'
hashAlgorithmOID:
type: string
description: 'scope=credential: 2.16.840.1.101.3.4.2.1 (SHA-256).'
authorization_details:
type: string
description: 'Alternative to the credential parameters: RFC 9396 JSON array with one entry of type credential (credentialID, numSignatures, hashAlgorithmOID, documentDigests[{hash,label}]).'
required:
- response_type
- client_id
- code_challenge
- code_challenge_method
responses:
'201':
description: request_uri, single use, valid 60 s
content:
application/json:
schema:
type: object
properties:
request_uri:
type: string
expires_in:
type: integer
'400':
description: Invalid request
content:
application/json:
schema:
$ref: '#/components/schemas/CscRqesError'
'401':
description: Wrong client credentials
content:
application/json:
schema:
$ref: '#/components/schemas/CscRqesError'
/csc/rqes/oauth2/authorize:
get:
tags:
- csc-rqes
operationId: cscRqesAuthorize
summary: Authorization endpoint (browser)
description: 'The user signs in with the tenant''s own sign-in (password, passkey or EU wallet), then confirms on a consent page: for scope=credential the page lists the credential and the documents'' SHA-256 fingerprints. Afterwards the browser is redirected to redirect_uri with code (single use, 60 s) and state, or with error=access_denied.'
parameters:
- name: response_type
in: query
required: true
description: Must be code.
schema:
type: string
- name: client_id
in: query
required: true
description: Registered client id.
schema:
type: string
- name: redirect_uri
in: query
required: false
description: Registered redirect URI, e.g. rqes://oauth/callback. May be omitted when the client has exactly one.
schema:
type: string
- name: scope
in: query
required: false
description: service or credential (CSC v2 section 8.4).
schema:
type: string
- name: state
in: query
required: false
description: Opaque client state, returned unchanged.
schema:
type: string
- name: code_challenge
in: query
required: false
description: PKCE S256 challenge (required).
schema:
type: string
- name: code_challenge_method
in: query
required: false
description: Must be S256.
schema:
type: string
- name: prompt
in: query
required: false
description: login forces a fresh sign-in.
schema:
type: string
- name: request_uri
in: query
required: false
description: urn:ietf:params:oauth:request_uri:... from pushed_authorize; then only client_id (and state) are needed.
schema:
type: string
- name: credentialID
in: query
required: false
description: 'scope=credential: the credential to authorize.'
schema:
type: string
- name: numSignatures
in: query
required: false
description: 'scope=credential: number of signatures, 1-10, equal to the number of hashes.'
schema:
type: integer
- name: hashes
in: query
required: false
description: 'scope=credential: comma-separated SHA-256 document hashes (base64url; base64 and URL-encoded base64 accepted).'
schema:
type: string
- name: hashAlgorithmOID
in: query
required: false
description: 'scope=credential: 2.16.840.1.101.3.4.2.1 (SHA-256).'
schema:
type: string
- name: authorization_details
in: query
required: false
description: 'Alternative to the credential parameters: RFC 9396 JSON array with one entry of type credential (credentialID, numSignatures, hashAlgorithmOID, documentDigests[{hash,label}]).'
schema:
type: string
responses:
'302':
description: Redirect to the sign-in, then to redirect_uri?code=...&state=... (or ?error=...)
'400':
description: HTML error page (unknown client or redirect_uri, expired request)
/csc/rqes/oauth2/token:
post:
tags:
- csc-rqes
operationId: cscRqesToken
summary: Token endpoint (authorization_code + PKCE)
security:
- cscClientBasic: []
requestBody:
required: true
content:
application/x-www-form-urlencoded:
schema:
type: object
properties:
grant_type:
type: string
const: authorization_code
code:
type: string
redirect_uri:
type: string
code_verifier:
type: string
client_id:
type: string
client_secret:
type: string
description: client_secret_post
required:
- grant_type
- code
- code_verifier
responses:
'200':
description: 'Access token (service: 1 h; credential: 5 min, bound to credentialID + hashes)'
content:
application/json:
schema:
$ref: '#/components/schemas/CscRqesTokenResponse'
'400':
description: invalid_grant / unsupported_grant_type
content:
application/json:
schema:
$ref: '#/components/schemas/CscRqesError'
'401':
description: invalid_client
content:
application/json:
schema:
$ref: '#/components/schemas/CscRqesError'
/csc/rqes/revoke:
post:
tags:
- csc-rqes
operationId: cscRqesRevoke
summary: Token revocation (RFC 7009)
security:
- cscClientBasic: []
- {}
requestBody:
required: true
content:
application/x-www-form-urlencoded:
schema:
type: object
properties:
token:
type: string
required:
- token
responses:
'200':
description: Revoked (also returned for unknown tokens)
components:
schemas:
CscRqesError:
type: object
properties:
error:
type: string
examples:
- invalid_request
- invalid_grant
- invalid_client
- invalid_token
error_description:
type: string
required:
- error
CscRqesTokenResponse:
type: object
properties:
access_token:
type: string
token_type:
type: string
const: Bearer
expires_in:
type: integer
examples:
- 3600
- 300
scope:
type: string
enum:
- service
- credential
credentialID:
type: string
description: Present for scope=credential.
required:
- access_token
- token_type
- expires_in
CscRqesInfo:
type: object
description: CSC section 11.1 service metadata for the EU-wallet profile. specs is 2.2.0.0, the version the EU RQES libraries require.
properties:
specs:
type: string
const: 2.2.0.0
name:
type: string
logo:
type: string
format: uri
region:
type: string
lang:
type: string
description:
type: string
authType:
type: array
items:
type: string
enum:
- oauth2code
oauth2:
type: string
format: uri
description: 'OAuth 2.0 base URI: https://<tenant>/csc/rqes. Endpoints: {oauth2}/oauth2/authorize, {oauth2}/oauth2/token, {oauth2}/oauth2/pushed_authorize, {oauth2}/revoke.'
supportsRar:
type: boolean
supportedHashTypes:
type: array
items:
type: string
enum:
- 2.16.840.1.101.3.4.2.1
asynchronousOperationMode:
type: boolean
validationInfo:
type: boolean
methods:
type: array
items:
type: string
examples:
- - credentials/list
- credentials/info
- signatures/signHash
signAlgorithms:
type: object
properties:
algos:
type: array
items:
type: string
signature_formats:
type: object
properties:
formats:
type: array
items:
type: string
envelope_properties:
type: array
items:
type: array
items:
type: string
conformance_levels:
type: array
items:
type: string
CscRqesCredentialInfo:
type: object
properties:
credentialID:
type: string
description:
type: string
signatureQualifier:
type: string
const: eu_eidas_aes
key:
type: object
properties:
status:
type: string
enum:
- enabled
- disabled
algo:
type: array
items:
type: string
len:
type: integer
curve:
type: string
cert:
type: object
properties:
status:
type: string
enum:
- valid
- expired
- revoked
- suspended
certificates:
type: array
items:
type: string
contentEncoding: base64
issuerDN:
type: string
serialNumber:
type: string
subjectDN:
type: string
validFrom:
type: string
examples:
- 20261013120000Z
validTo:
type: string
auth:
type: object
properties:
mode:
type: string
const: oauth2code
objects:
type: array
items:
type: object
SCAL:
type: string
const: '2'
multisign:
type: integer
examples:
- 10
lang:
type: string
securitySchemes:
cscServiceToken:
type: http
scheme: bearer
bearerFormat: opaque
description: CSC v2 service access token (scope=service) from POST /csc/rqes/oauth2/token. Valid 1 hour. Lists and describes the signed-in user's signing credential.
cscCredentialToken:
type: http
scheme: bearer
bearerFormat: opaque
description: CSC v2 credential access token (scope=credential) from POST /csc/rqes/oauth2/token. Bound to one credentialID and to exactly the document hashes the user confirmed; valid 5 minutes and for numSignatures signatures in total. Replaces the SAD on signatures/signHash.
cscClientBasic:
type: http
scheme: basic
description: OAuth client authentication (client_secret_basic). client_secret_post (client_id + client_secret form fields) is accepted as well. Clients are registered per tenant by the operator.
oidcBearer:
type: http
scheme: bearer
bearerFormat: JWT
description: OIDC access token minted by /oauth2/v1/token. Tenant-scoped by Host header. Also accepts ak_-prefixed personal API keys on the v1 REST surface.
hmacAdmin:
type: apiKey
in: header
name: X-CodeB-Admin-Signature
description: Hex(HMAC-SHA256(WebPhone:AdminSharedSecret, bucketName + '|' + Host)). Bucket name is documented per-endpoint. This scheme is designed for machine-to-machine admin automation (CI, cron, back-office scripts) where OIDC bearer flow isn't practical.
credentialAccessToken:
type: http
scheme: bearer
bearerFormat: opaque
description: OAuth 2.0 access token minted by /vci.ashx?token via pre-authorized_code grant. Used only on POST /vci.ashx?credential.