xfa-tech Connect API
The Connect API from xfa-tech — 9 operation(s) for connect.
The Connect API from xfa-tech — 9 operation(s) for connect.
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/xfa-tech:xfa-tech-connect-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: XFA Connect API
version: '1'
servers:
- url: https://api.xfa.tech
description: Production stack API url
- url: https://test-api.xfa.tech
description: Test stack API url
security:
- bearerAuth: []
tags:
- name: Connect
paths:
/connect/trustcloud:
post:
summary: Connect to TrustCloud
tags:
- Connect
x-internal: true
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
organizationId:
type: string
description: The ID of the organization to connect
apiKey:
type: string
description: TrustCloud API key
required:
- organizationId
- apiKey
responses:
'200':
description: Successfully connected to TrustCloud
'400':
description: 'The request is invalid (plain-text body), or the provider refused the connection: then the body is JSON with error "provider_rejected" and a message written for the admin, e.g. that the API key is missing a permission (XFA-4038).'
content:
application/json:
schema:
type: object
properties:
error:
type: string
enum:
- provider_rejected
message:
type: string
description: Shown to the admin as is.
text/plain:
schema:
type: string
'500':
description: XFA could not complete the connection; nothing for the admin to fix.
operationId: postConnectTrustcloud
x-operation-id-source: derived
/connect/drata:
post:
summary: Connect to Drata
tags:
- Connect
x-internal: true
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
organizationId:
type: string
description: The ID of the organization to connect
drataApiKey:
type: string
description: Drata API key
required:
- organizationId
- drataApiKey
responses:
'200':
description: Successfully connected to Drata
'400':
description: 'The request is invalid (plain-text body), or the provider refused the connection: then the body is JSON with error "provider_rejected" and a message written for the admin, e.g. that the API key is missing a permission (XFA-4038).'
content:
application/json:
schema:
type: object
properties:
error:
type: string
enum:
- provider_rejected
message:
type: string
description: Shown to the admin as is.
text/plain:
schema:
type: string
'500':
description: XFA could not complete the connection; nothing for the admin to fix.
operationId: postConnectDrata
x-operation-id-source: derived
/connect/thoropass:
post:
summary: Connect to Thoropass
tags:
- Connect
x-internal: true
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
organizationId:
type: string
description: The ID of the organization to connect
clientId:
type: string
description: Thoropass client ID
clientSecret:
type: string
description: Thoropass client secret
required:
- organizationId
- clientId
- clientSecret
responses:
'200':
description: Successfully connected to Thoropass
'400':
description: 'The request is invalid (plain-text body), or the provider refused the connection: then the body is JSON with error "provider_rejected" and a message written for the admin, e.g. that the API key is missing a permission (XFA-4038).'
content:
application/json:
schema:
type: object
properties:
error:
type: string
enum:
- provider_rejected
message:
type: string
description: Shown to the admin as is.
text/plain:
schema:
type: string
'500':
description: XFA could not complete the connection; nothing for the admin to fix.
operationId: postConnectThoropass
x-operation-id-source: derived
/connect/vanta:
post:
summary: Connect to Vanta
tags:
- Connect
x-internal: true
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
organization_id:
type: string
description: The ID of the organization to connect
code:
type: string
description: Vanta OAuth authorization code
redirect_uri:
type: string
description: Vanta OAuth redirect URI
required:
- organization_id
- code
- redirect_uri
responses:
'200':
description: Successfully connected to Vanta
'400':
description: 'The request is invalid (plain-text body), or the provider refused the connection: then the body is JSON with error "provider_rejected" and a message written for the admin, e.g. that the API key is missing a permission (XFA-4038).'
content:
application/json:
schema:
type: object
properties:
error:
type: string
enum:
- provider_rejected
message:
type: string
description: Shown to the admin as is.
text/plain:
schema:
type: string
'500':
description: XFA could not complete the connection; nothing for the admin to fix.
operationId: postConnectVanta
x-operation-id-source: derived
/connect/noru:
post:
summary: Connect to Noru
tags:
- Connect
x-internal: true
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
organizationId:
type: string
description: The ID of the organization to connect
noruApiKey:
type: string
description: Noru API key
required:
- organizationId
- noruApiKey
responses:
'200':
description: Successfully connected to Noru
'400':
description: 'The request is invalid (plain-text body), or the provider refused the connection: then the body is JSON with error "provider_rejected" and a message written for the admin, e.g. that the API key is missing a permission (XFA-4038).'
content:
application/json:
schema:
type: object
properties:
error:
type: string
enum:
- provider_rejected
message:
type: string
description: Shown to the admin as is.
text/plain:
schema:
type: string
'500':
description: XFA could not complete the connection; nothing for the admin to fix.
operationId: postConnectNoru
x-operation-id-source: derived
/connect/mem:
post:
summary: Connect to Microsoft Endpoint Manager
tags:
- Connect
x-internal: true
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
organization_id:
type: string
description: The ID of the organization to connect
code:
type: string
description: OAuth authorization code from Microsoft
redirect_uri:
type: string
description: Redirect URI used in the OAuth flow
required:
- organization_id
- code
- redirect_uri
responses:
'204':
description: Successfully connected to Microsoft Endpoint Manager
'400':
description: 'The request is invalid (plain-text body), or the provider refused the connection: then the body is JSON with error "provider_rejected" and a message written for the admin, e.g. that the API key is missing a permission (XFA-4038).'
content:
application/json:
schema:
type: object
properties:
error:
type: string
enum:
- provider_rejected
message:
type: string
description: Shown to the admin as is.
text/plain:
schema:
type: string
'500':
description: XFA could not complete the connection; nothing for the admin to fix.
operationId: postConnectMem
x-operation-id-source: derived
/connect/mem/settings:
patch:
summary: Update MEM settings
tags:
- Connect
x-internal: true
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
organization_id:
type: string
description: The ID of the organization
extension_attribute:
type: integer
description: Extension attribute number (1-15) used to store compliance status
minimum: 1
maximum: 15
required:
- organization_id
- extension_attribute
responses:
'204':
description: Successfully updated MEM settings
'400':
description: 'The request is invalid (plain-text body), or the provider refused the connection: then the body is JSON with error "provider_rejected" and a message written for the admin, e.g. that the API key is missing a permission (XFA-4038).'
content:
application/json:
schema:
type: object
properties:
error:
type: string
enum:
- provider_rejected
message:
type: string
description: Shown to the admin as is.
text/plain:
schema:
type: string
'500':
description: XFA could not complete the connection; nothing for the admin to fix.
operationId: patchConnectMemSettings
x-operation-id-source: derived
/connect/{organizationId}/list:
get:
summary: List connections for an organization
tags:
- Connect
x-internal: true
parameters:
- in: path
name: organizationId
description: ID of Organization
required: true
schema:
type: string
responses:
'200':
description: Returns the list of connections for the organization
content:
application/json:
schema:
type: object
properties:
vanta:
description: Present when Vanta is connected.
allOf:
- $ref: '#/components/schemas/ExportConnection'
thoropass:
description: Present when Thoropass is connected.
allOf:
- $ref: '#/components/schemas/ExportConnection'
drata:
description: Present when Drata is connected.
allOf:
- $ref: '#/components/schemas/ExportConnection'
trustcloud:
description: Present when Trustcloud is connected.
allOf:
- $ref: '#/components/schemas/ExportConnection'
noru:
description: Present when Noru is connected.
allOf:
- $ref: '#/components/schemas/ExportConnection'
mem:
description: Present when Microsoft Endpoint Manager is connected (also has tenant_id, extension_attribute, policy_id).
allOf:
- $ref: '#/components/schemas/ExportConnection'
operationId: getConnectByOrganizationIdList
x-operation-id-source: derived
/organizations/{organizationId}/connections/{uuid}:
delete:
summary: Delete a connection
tags:
- Connect
x-internal: true
parameters:
- in: path
name: organizationId
description: ID of Organization
required: true
schema:
type: string
- in: path
name: uuid
description: UUID of the connection to delete
required: true
schema:
type: string
responses:
'204':
description: Connection successfully deleted
'403':
description: Not authorized to delete this connection
'404':
description: Connection not found
operationId: deleteOrganizationsByOrganizationIdConnectionsByUuid
x-operation-id-source: derived
components:
schemas:
ExportConnection:
type: object
properties:
organization_id:
type: string
uuid:
type: string
description: Connection id, e.g. c:drata.
connection_type:
type: string
sync_error:
$ref: '#/components/schemas/ExportConnectionSyncError'
created_at:
type: integer
format: int64
description: Unix seconds. Omitted for connections saved before 2026-11-03.
updated_at:
type: integer
format: int64
description: Unix seconds of the last change to the connection's settings (not of a sync).
drata_connection_id:
type: string
description: Drata only.
drata_region:
type: string
description: Drata only, US or EU.
additionalProperties: true
ExportConnectionSyncError:
type: object
description: The latest failed sync. Absent when the last sync succeeded.
properties:
message:
type: string
description: For codes connection_not_found, missing_permission and key_rejected, one sentence written for the admin (ending in the provider's own words where it gave them). Otherwise a technical message; show translated text instead.
timestamp:
type: integer
format: int64
description: Unix seconds.
code:
type: string
description: reconnect_required, rate_limited, unauthorized, connection_not_found, missing_permission, key_rejected or sync_failed.
required:
- message
- timestamp
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: JWT