Losant Auth API

The Auth API from Losant — 5 operation(s) for auth.

GitHub OpenAPI

Operations 5

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /auth/device Authenticate a device · auth authenticateDevice #
Ask an LLM
“How do I authenticate a device with a key and secret?”
“Can I set a time-to-live on a device token?”
Tell an agent
Authenticate device {deviceId} with key {key}.
Issue a {tokenTTL} device token for {deviceId}.
GET /auth/ssoDomain Check an email domain for SSO · auth ssoDomain #
Ask an LLM
“Is single sign-on configured for a given email domain?”
“Can I check SSO setup for a user's email address?”
Tell an agent
Check SSO configuration for the domain of {email}.
Tell me whether {email} uses single sign-on.
POST /auth/user Authenticate a user with a password · auth authenticateUser #
Ask an LLM
“How do I log in a user with their email and password?”
“Can I send a two-factor code when authenticating a user?”
Tell an agent
Authenticate user {email} with password {password}.
Log in {email} with password {password} and two-factor code {twoFactorCode}.
POST /auth/user/github Authenticate a user via GitHub OAuth · auth authenticateUserGithub #
Ask an LLM
“How do I authenticate a user who signed in with GitHub?”
“Can I request specific scopes when logging in with a GitHub access token?”
Tell an agent
Authenticate the user with GitHub access token {accessToken}.
Log in with GitHub token {accessToken} requesting scopes {requestedScopes}.
POST /auth/user/saml Authenticate a user with a SAML response · auth authenticateUserSaml #
Ask an LLM
“How do I authenticate a user from a SAML response?”
“Can I pick the SAML identity provider domain when logging in?”
Tell an agent
Authenticate user {SAMLResponse} from domain {SAMLDomain}.
Process SAML response {SAMLResponse} for {SAMLDomain} with scopes {requestedScopes}.

Work with this as data

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/losant:losant-auth-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 Specification

losant-auth-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Platform Auth API
  version: 1.31.0
  description: User API for accessing platform data
servers:
- url: https://api.losant.com
security:
- bearerAuth: []
tags:


# --- truncated at 32 KB (67 KB total) ---
# Full source: https://artifacts.apis.io/losant/openapi/losant-auth-api-openapi.yml