Skip to content
Clan LabsAPIv2
GuidesWebsite Open dashboard
OverviewAuthenticationAPI keysRequestsErrorsMigrationEndpoints
API reference
API v2
  • API overview
  • Authentication
  • API keys and scopes
  • Requests and responses
  • Errors and rate limits
  • Versioning and migration
  • Swagger migration
Troubleshooting
  • Authentication failures
  • Request and rate-limit errors
Members
  • GETList members
  • GETFetch one member
  • POSTChange a member's experience
  • POSTChange a member's quota points
  • PUTSet a member's rank
  • POSTPromote a member one rank
  • POSTDemote a member one rank
  • POSTAward a medal
  • DELETERemove a medal
  • POSTAward a qualification
  • DELETERemove a qualification
  • GETList a member's suspensions
  • POSTSuspend a member
  • POSTRestore a member's active suspension
  • POSTCancel a member's active suspension
Configuration
  • GETList ranks
  • GETFetch one rank
  • GETList medals
  • GETFetch one medal by name
  • GETList qualifications
  • GETFetch one qualification by name
Moderation
  • GETList blacklist entries
  • POSTCreate a blacklist entry
  • GETFetch one blacklist entry
  • PATCHUpdate a blacklist entry's description
  • DELETERemove a blacklist entry
  • GETList warnings
  • POSTIssue a warning
  • GETFetch one warning
  • PATCHUpdate a warning
  • DELETEDelete a warning
Events
  • GETList events
  • POSTCreate and announce an event
  • GETList curated event types
  • GETList approved event locations
  • GETFetch one event
  • POSTCancel an event
  • POSTFinish an event
  • POSTCreate a fresh Discord announcement
GuidesClan Labs websiteOpen dashboard Support
API v2
  • API overview
  • Authentication
  • API keys and scopes
  • Requests and responses
  • Errors and rate limits
  • Versioning and migration
  • Swagger migration
Troubleshooting
  • Authentication failures
  • Request and rate-limit errors
Members
  • GETList members
  • GETFetch one member
  • POSTChange a member's experience
  • POSTChange a member's quota points
  • PUTSet a member's rank
  • POSTPromote a member one rank
  • POSTDemote a member one rank
  • POSTAward a medal
  • DELETERemove a medal
  • POSTAward a qualification
  • DELETERemove a qualification
  • GETList a member's suspensions
  • POSTSuspend a member
  • POSTRestore a member's active suspension
  • POSTCancel a member's active suspension
Configuration
  • GETList ranks
  • GETFetch one rank
  • GETList medals
  • GETFetch one medal by name
  • GETList qualifications
  • GETFetch one qualification by name
Moderation
  • GETList blacklist entries
  • POSTCreate a blacklist entry
  • GETFetch one blacklist entry
  • PATCHUpdate a blacklist entry's description
  • DELETERemove a blacklist entry
  • GETList warnings
  • POSTIssue a warning
  • GETFetch one warning
  • PATCHUpdate a warning
  • DELETEDelete a warning
Events
  • GETList events
  • POSTCreate and announce an event
  • GETList curated event types
  • GETList approved event locations
  • GETFetch one event
  • POSTCancel an event
  • POSTFinish an event
  • POSTCreate a fresh Discord announcement
  1. API reference
  2. /
  3. API v2
API v2

Migrate from the Swagger documentation

Replace old Swagger UI bookmarks and legacy examples with the canonical API v2 reference.

Last updated 3 September 2026

This documentation site replaces the Swagger UI as the canonical guide for API v2. Every public /v2 operation in the maintained schema has a generated page with authentication, permission scope, parameters, examples, success data, errors, rate-limit guidance, and related endpoints.

Replace old bookmarks

Legacy destinationReplacement
API host /docs or /docs/API v2 overview
Swagger Members tagMember endpoints
Swagger Configuration tagRank endpoints
Swagger Moderation tagBlacklist endpoints
Swagger Events tagEvent endpoints
Swagger JSON documentMaintained OpenAPI JSON

Swagger deep links use a URL fragment after #. Browsers do not send that fragment to the server, so a server redirect cannot preserve the selected operation. Use full-site search here for the method, path, or operation title.

Update an integration

  1. Replace a bookmarked Swagger page with the matching generated endpoint page.
  2. Verify the method and /v2 path against the current route.
  3. Replace copied legacy headers with the Bearer key and X-Clan-Id format.
  4. Verify the required scope and community feature.
  5. Update success handling to read data and error handling to read error.code.
  6. Regenerate client types from /openapi.json if your project uses them.

Deprecation state

The API repository still exposes Swagger at its /docs route while parity and redirect deployment are verified. It should not be removed before inbound links are updated and production redirects are confirmed. No removal date is published.

Aliases controlled by this documentation deployment—/swagger, /swagger-ui/*, /api/docs, /api, and /reference—redirect into the new reference. Redirects on the separate API hostname must be deployed with the API service.

Maintainers can find the exact source-to-destination inventory and rollout checklist in maintenance/legacy-swagger-map.json and maintenance/swagger-migration.md in this repository.

PreviousVersioning and migrationNext Authentication failures
On this page
  1. Replace old bookmarks
  2. Update an integration
  3. Deprecation state