Losant Org Invites API
The Org Invites API from Losant — 1 operation(s) for org invites.
The Org Invites API from Losant — 1 operation(s) for org invites.
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/losant:losant-org-invites-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. 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: Platform Org Invites API
version: 1.31.0
description: User API for accessing platform data
servers:
- url: https://api.losant.com
security:
- bearerAuth: []
tags:
- name: Org Invites
paths:
/invites:
get:
operationId: orgInvites.get
summary: orgInvites get
tags:
- Org Invites
parameters:
- name: token
in: query
required: true
description: The token associated with the invite
schema:
type: string
example: aTokenString
- name: email
in: query
required: true
description: The email associated with the invite
schema:
type: string
example: example@example.com
responses:
'200':
description: Information about invite
content:
application/json:
schema:
$ref: '#/components/schemas/orgInviteInfo'
'400':
description: Error if malformed request
content:
application/json:
schema:
$ref: '#/components/schemas/error'
'404':
description: Error if invite not found
content:
application/json:
schema:
$ref: '#/components/schemas/error'
'410':
description: Error if invite has expired
content:
application/json:
schema:
$ref: '#/components/schemas/error'
description: Gets information about an invite
post:
operationId: orgInvites.post
summary: orgInvites post
tags:
- Org Invites
parameters: []
responses:
'200':
description: Acceptance/Rejection of invite
content:
application/json:
schema:
$ref: '#/components/schemas/orgInviteResult'
'400':
description: Error if malformed request
content:
application/json:
schema:
$ref: '#/components/schemas/error'
'404':
description: Error if invite not found
content:
application/json:
schema:
$ref: '#/components/schemas/error'
'410':
description: Error if invite has expired
content:
application/json:
schema:
$ref: '#/components/schemas/error'
description: Accepts/Rejects an invite
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/orgInviteAction'
description: Invite info and acceptance
components:
schemas:
error:
title: Error
description: Schema for errors returned by the API
type: object
properties:
type:
type: string
message:
type: string
validationErrors:
type: array
items:
type: object
properties:
field:
type: string
validationMessage:
type: string
orgInviteAction:
title: Organization Invitation Action
description: Schema for the body of a request to accept or reject an invitation
type: object
properties:
email:
type: string
format: email
maxLength: 1024
token:
type: string
minLength: 1
accept:
type: boolean
additionalProperties: false
required:
- email
- token
- accept
orgInviteInfo:
title: Organization Invitation Information
description: Schema for information about an invitation
type: object
properties:
orgName:
type: string
minLength: 1
maxLength: 255
email:
type: string
format: email
maxLength: 1024
role:
type: string
enum:
- admin
- edit
- collaborate
- view
- none
inviteDate:
type: string
format: date-time
ttl:
type: number
disallowTransfer:
type: boolean
orgInviteResult:
title: Organization Invitation Result
description: Schema for the result of accepting/rejecting an invitation
type: object
properties:
accepted:
type: boolean
orgId:
type: string
pattern: ^[A-Fa-f\d]{24}$
securitySchemes:
bearerAuth:
type: http
scheme: bearer
x-derived-from:
format: bravado 1.0
by: all/0-working/bravado-to-openapi.py (roadmap#799)
note: 'every action keeps its own path: resource.path + action.path'