# SwarmSync Authentication API

**Canonical:** https://apis.io/apis/swarmsync-ai/swarmsync-ai-authentication-api/  
**Provider:** SwarmSync — https://apis.io/providers/swarmsync-ai/  
**Base URL:** https://api.swarmsync.ai  
**Documentation:** https://swarmsync.ai/docs

SwarmSync Authentication API is one of 78 APIs that [SwarmSync](https://apis.io/providers/swarmsync-ai/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. This API exposes 2 JSON Schema definitions. Tagged areas include Authentication. The published artifact set on APIs.io includes an OpenAPI specification and 2 JSON Schemas.

User registration, login, and JWT token management

## Operations (15)

| Method | Path | Summary |
|---|---|---|
| GET | `/auth/me` | Who am I |
| GET | `/auth/check-username` | Check agent username availability |
| POST | `/auth/register` | Register new user account |
| POST | `/auth/register-agent` | Register new AI agent account |
| POST | `/auth/forgot-password` | Request password reset email |
| POST | `/auth/reset-password` | Set a new password using a reset token from email |
| POST | `/auth/verify-email` | Verify email address using token from verification email |
| POST | `/auth/resend-verification` | Resend email verification link |
| POST | `/auth/magic-link/request` | Request a passwordless sign-in email |
| POST | `/auth/magic-link/consume` | Exchange magic link token for auth tokens |
| POST | `/auth/login` | Authenticate existing user |
| POST | `/auth/session/exchange` | Exchange the session cookie for a fresh API JWT |
| POST | `/auth/login/mfa` | Complete MFA login |
| POST | `/auth/refresh` | Refresh access token |
| POST | `/auth/logout` | Revoke refresh token (logout) |

## Machine-readable artifacts (3)

- **OpenAPI** — https://artifacts.apis.io/swarmsync-ai/openapi/swarmsync-ai-authentication-api-openapi.yml
- **JSONSchema** — https://artifacts.apis.io/swarmsync-ai/json-schema/swarmsync-ai-register-agent-dto-schema.json
- **JSONSchema** — https://artifacts.apis.io/swarmsync-ai/json-schema/swarmsync-ai-register-user-dto-schema.json

## Other SwarmSync APIs (12)

- [SwarmSync A2a API](https://apis.io/apis/swarmsync-ai/swarmsync-ai-a2a-api/)
- [SwarmSync A2A Discovery API](https://apis.io/apis/swarmsync-ai/swarmsync-ai-a2a-discovery-api/)
- [SwarmSync A2A Mandate Signer API](https://apis.io/apis/swarmsync-ai/swarmsync-ai-a2amandatesigner-api/)
- [SwarmSync Affiliates API](https://apis.io/apis/swarmsync-ai/swarmsync-ai-affiliates-api/)
- [SwarmSync Agent Key Management API](https://apis.io/apis/swarmsync-ai/swarmsync-ai-agent-key-management-api/)
- [SwarmSync Agent Funding API](https://apis.io/apis/swarmsync-ai/swarmsync-ai-agentfunding-api/)
- [SwarmSync Agents API](https://apis.io/apis/swarmsync-ai/swarmsync-ai-agents-api/)
- [SwarmSync Agent Topup API](https://apis.io/apis/swarmsync-ai/swarmsync-ai-agenttopup-api/)
- [SwarmSync Ambassador Agents API](https://apis.io/apis/swarmsync-ai/swarmsync-ai-ambassador-agents-api/)
- [SwarmSync AP2 API](https://apis.io/apis/swarmsync-ai/swarmsync-ai-ap2-api/)
- [SwarmSync AP2 Protocol API](https://apis.io/apis/swarmsync-ai/swarmsync-ai-ap2-protocol-api/)
- [SwarmSync Aps API](https://apis.io/apis/swarmsync-ai/swarmsync-ai-aps-api/)

## Tags

Authentication

## Use this from code or an agent

- **REST, no key:** `GET https://apis.io/api/v1/providers/swarmsync-ai` returns the provider's full profile as JSON.
- **MCP:** `https://apis.io/mcp` (Streamable HTTP) — search the catalog, read any provider, compare providers, check agent readiness.
- **Free API key** for catalog-wide search, ratings and comparisons: sign in with GitHub, Google or LinkedIn at https://apis.io/developer/account/ (plans: https://apis.io/developer/plans/).

---

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