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.
openapi: 3.2.0
info:
title: Kno2 Communication Directory API
description: Kno2 is a healthcare Interoperability-as-a-Service network.
version: '1.0'
contact:
name: Kno2
url: https://kno2.com
email: info@kno2.com
x-sourcing: Endpoints, paths, verbs, and the OAuth2 client-credentials token flow are CONFIRMED from Kno2's official ApiTestClient (github.com/Kno2/Kno2.ApiTestClient, app.config + ApiHelper.cs). Payload schemas are MODELED and simplified.
servers:
- url: https://{subscription}.kno2fy.com
description: Production tenant (per-integrator subscription host)
variables:
subscription:
default: your-subscription
description: The subscription/tenant slug assigned to your Kno2 account.
- url: https://{subscription}.kno2-stage.com
description: Staging sandbox tenant (Kno2 Developer Program)
variables:
subscription:
default: your-subscription
description: The staging subscription/tenant slug assigned to your account.
security:
- bearerAuth: []
tags:
- name: Directory
description: Validate Direct addresses and list document types.
paths:
/api/documenttypes:
get:
operationId: listDocumentTypes
tags:
- Directory
summary: List document types
description: Lists the document types available to the current subscription. CONFIRMED from ApiTestClient (DocumentTypesUriTemplate = api/documenttypes).
responses:
'200':
description: A collection of document types.
content:
application/json:
schema:
type: object
properties:
items:
type: array
items:
type: string
'401':
$ref: '#/components/responses/Unauthorized'
/api/directory/validate:
get:
operationId: validateAddresses
tags:
- Directory
summary: Validate Direct addresses
description: Validates one or more Direct Secure Messaging addresses / endpoints before sending. CONFIRMED from ApiTestClient (DirectoryValidateTemplate = api/directory/validate).
parameters:
- name: addresses
in: query
description: One or more Direct addresses to validate.
schema:
type: array
items:
type: string
responses:
'200':
description: A map of address to validity.
content:
application/json:
schema:
type: object
additionalProperties:
type: boolean
'401':
$ref: '#/components/responses/Unauthorized'
components:
responses:
Unauthorized:
description: Authentication failed or the token is missing/expired.
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: Bearer access token obtained from POST /api/token.
basicAuth:
type: http
scheme: basic
description: HTTP Basic with base64(client_id:client_secret), used only against /api/token to obtain a Bearer token.