# inference-sh Auth API

**Canonical:** https://apis.io/apis/inference-sh/inference-sh-auth-api/  
**Provider:** inference-sh — https://apis.io/providers/inference-sh/  
**Base URL:** https://api.inference.sh  
**Documentation:** https://inference.sh/docs/api/authentication

inference-sh Auth API is one of 65 APIs that [inference-sh](https://apis.io/providers/inference-sh/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. Tagged areas include auth. The published artifact set on APIs.io includes an OpenAPI specification.

The auth API from inference-sh — 47 operation(s) for auth.

## Operations (53)

| Method | Path | Summary |
|---|---|---|
| GET | `/auth/callback/{provider}` | Get auth callback by provider |
| POST | `/auth/callback/{provider}` | Create auth callback by provider |
| GET | `/auth/link-account` | Get auth link account |
| POST | `/auth/link-account` | Create auth link account |
| GET | `/auth/login/{provider}` | Get auth login by provider |
| POST | `/auth/logout` | Create auth logout |
| POST | `/auth/magic-link/send` | Create auth magic link send |
| GET | `/auth/magic-link/verify` | Get auth magic link verify |
| POST | `/auth/magic-link/verify` | Create auth magic link verify |
| POST | `/auth/magic-link/verify-code` | Create auth magic link verify code |
| POST | `/auth/otp/resend` | Create auth otp resend |
| GET | `/auth/otp/status` | Get auth otp status |
| POST | `/auth/otp/verify` | Create auth otp verify |
| POST | `/auth/passkey/assert/begin` | Create auth passkey assert begin |
| POST | `/auth/passkey/register/begin` | Create auth passkey register begin |
| POST | `/auth/passkey/register/finish` | Create auth passkey register finish |
| GET | `/auth/providers` | Get auth providers |
| POST | `/auth/saml/acs` | Create auth saml acs |
| POST | `/auth/saml/acs/{teamSlug}` | Create auth saml acs by team slug |
| POST | `/auth/saml/connections/{connectionID}/acs` | Create auth saml connections by connection id acs |
| GET | `/auth/saml/connections/{connectionID}/metadata` | Get auth saml connections by connection id metadata |
| GET | `/auth/saml/login/{teamSlug}` | Get auth saml login by team slug |
| GET | `/auth/saml/metadata/{teamSlug}` | Get auth saml metadata by team slug |
| GET | `/auth/second-factor` | Get auth second factor |
| POST | `/auth/second-factor/disable` | Create auth second factor disable |
| POST | `/auth/second-factor/enable` | Create auth second factor enable |
| DELETE | `/auth/second-factor/methods/{id}` | Delete auth second factor methods by id |
| PATCH | `/auth/second-factor/methods/{id}` | Update auth second factor methods by id |
| POST | `/auth/second-factor/recovery-codes` | Create auth second factor recovery codes |
| GET | `/auth/sessions` | Get auth sessions |
| POST | `/auth/sessions/revoke-all` | Create auth sessions revoke all |
| DELETE | `/auth/sessions/{id}` | Delete auth sessions by id |
| POST | `/auth/totp/confirm` | Create auth totp confirm |
| POST | `/auth/totp/enroll` | Create auth totp enroll |
| POST | `/device/auth/` | Create device auth |
| POST | `/device/auth/approve` | Create device auth approve |
| POST | `/device/auth/claim` | Create device auth claim |
| GET | `/device/auth/code/{code}` | Get device auth code by code |
| DELETE | `/device/auth/elevate` | Delete device auth elevate |
| GET | `/device/auth/elevate` | Get device auth elevate |
| POST | `/device/auth/elevate` | Create device auth elevate |
| GET | `/device/auth/poll/{deviceCode}` | Get device auth poll by device code |
| POST | `/logout` | Create logout |
| GET | `/oauth/authorize` | Get oauth authorize |
| POST | `/oauth/authorize/approve` | Create oauth authorize approve |
| POST | `/oauth/authorize/deny` | Create oauth authorize deny |
| GET | `/oauth/authorize/info` | Get oauth authorize info |
| GET | `/oauth/connected-apps` | Get oauth connected apps |
| POST | `/oauth/connected-apps/revoke` | Create oauth connected apps revoke |
| POST | `/oauth/device_authorization` | Create oauth device authorization |
| POST | `/oauth/register` | Create oauth register |
| POST | `/oauth/revoke` | Create oauth revoke |
| POST | `/oauth/token` | Create oauth token |

## Machine-readable artifacts (1)

- **OpenAPI** — https://artifacts.apis.io/inference-sh/openapi/inference-sh-auth-api-openapi.yml

## Other inference-sh APIs (12)

- [inference-sh Agent Runs API](https://apis.io/apis/inference-sh/inference-sh-agent-runs-api/)
- [inference-sh Agents API](https://apis.io/apis/inference-sh/inference-sh-agents-api/)
- [inference-sh API Keys API](https://apis.io/apis/inference-sh/inference-sh-api-keys-api/)
- [inference-sh Apps API](https://apis.io/apis/inference-sh/inference-sh-apps-api/)
- [inference-sh Artifacts API](https://apis.io/apis/inference-sh/inference-sh-artifacts-api/)
- [inference-sh Auth Providers API](https://apis.io/apis/inference-sh/inference-sh-auth-providers-api/)
- [inference-sh Billing API](https://apis.io/apis/inference-sh/inference-sh-billing-api/)
- [inference-sh Bounties API](https://apis.io/apis/inference-sh/inference-sh-bounties-api/)
- [inference-sh Chats API](https://apis.io/apis/inference-sh/inference-sh-chats-api/)
- [inference-sh Companies API](https://apis.io/apis/inference-sh/inference-sh-companies-api/)
- [inference-sh Consent API](https://apis.io/apis/inference-sh/inference-sh-consent-api/)
- [inference-sh Content API](https://apis.io/apis/inference-sh/inference-sh-content-api/)

## Tags

auth

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/inference-sh/inference-sh-auth-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/inference-sh/.
