Lassare Teams API
The Teams API from Lassare — 2 operation(s) for teams.
The Teams API from Lassare — 2 operation(s) for teams.
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/lassare-com:lassare-com-teams-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: Lassare Gateway Teams API
description: Human-in-the-Loop (HITL) middleware for AI agents
version: 1.0.0
tags:
- name: Teams
paths:
/v1/test/teams:
post:
tags:
- Teams
summary: Test Teams Notification
description: 'T298: Send a test Adaptive Card to a Teams user or channel.
Used by Portal''s "Test Connection" button to verify Teams integration.
Args:
request: Test request with company_id, target_type, and target_id
Returns:
TestTeamsResponse with success status and message details'
operationId: test_teams_notification_v1_test_teams_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/TestTeamsRequest'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/TestTeamsResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/v1/test/teams/validate:
post:
tags:
- Teams
summary: Validate Teams Id
description: 'Validate a Teams user or channel ID.
Used by Portal to verify that a Teams ID exists before saving.
Note: Unlike Slack, Teams validation requires attempting to send
a message or using Graph API to look up the user/channel.
For now, we just verify the connector can be created.
Args:
request: Validation request with company_id, teams_id, and id_type
Returns:
Dict with ''valid'' boolean and optional error'
operationId: validate_teams_id_v1_test_teams_validate_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/ValidateTeamsIdRequest'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: object
title: Response Validate Teams Id V1 Test Teams Validate Post
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
TestTeamsResponse:
properties:
success:
type: boolean
title: Success
description: Whether the test message was sent
messageId:
anyOf:
- type: string
- type: 'null'
title: Messageid
description: Teams message ID if successful
error:
anyOf:
- type: string
- type: 'null'
title: Error
description: Error message if test failed
latencyMs:
anyOf:
- type: number
- type: 'null'
title: Latencyms
description: Delivery latency in milliseconds
type: object
required:
- success
title: TestTeamsResponse
description: Response for Teams test notification.
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
TestTeamsRequest:
properties:
companyId:
type: string
title: Companyid
description: Company ID for Teams workspace lookup
targetType:
type: string
title: Targettype
description: 'Target type: ''teams_user'' or ''teams_channel'''
targetId:
type: string
title: Targetid
description: Teams user ID or channel ID (team_id:channel_id)
type: object
required:
- companyId
- targetType
- targetId
title: TestTeamsRequest
description: Request to send a test Teams notification.
ValidateTeamsIdRequest:
properties:
companyId:
type: string
title: Companyid
description: Company ID for Teams workspace lookup
teamsId:
type: string
title: Teamsid
description: Teams user ID or channel ID to validate
idType:
type: string
title: Idtype
description: 'ID type: ''user'' or ''channel'''
type: object
required:
- companyId
- teamsId
- idType
title: ValidateTeamsIdRequest
description: Request to validate a Teams user or channel ID.
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
type: object
required:
- loc
- msg
- type
title: ValidationError