CodeCombat Auth API

The Auth API from CodeCombat — 1 operation(s) for auth.

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/codecombat-auth-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

codecombat-auth-api-openapi.yml Raw ↑
openapi: 3.0.1
info:
  title: CodeCombat Auth API
  version: "1.0"
servers:
- url: https://codecombat.com/api
  description: default
tags:
- name: Auth
paths:
  auth/login-o-auth:
    get:
      description: 'Logs a user in. In this example, we call your lookup URL (let''s say, `https://oauth.provider/user?t=<%= accessToken %>`) with the access token (`1234`). The lookup URL returns `{ id: ''abcd'' }` in this case. We will match this `id` with the OAuthIdentity stored in the user information in our db. If everything checks out, the user is logged in and redirected to the home page.

        '
      operationId: AuthService.loginOauth
      tags:
      - Auth
      parameters:
      - name: provider
        in: query
        description: Your OAuth Provider ID
        required: true
        schema:
          type: string
      - name: accessToken
        in: query
        description: Will be passed through your lookup URL to get the user ID. Required if no `code`.
        required: false
        schema:
          type: string
      - name: code
        in: query
        description: Will be passed to the OAuth token endpoint to get a token. Required if no `accessToken`.
        required: false
        schema:
          type: string
      - name: redirect
        in: query
        description: Override where the user will navigate to after successfully logging in.
        required: false
        schema:
          type: string
      - name: errorRedirect
        in: query
        description: If an error happens, redirects the user to this url, with at least query parameters `code`, `errorName` and `message`.
        required: false
        schema:
          type: string
      responses:
        '204':
          description: ''
      summary: Login User
      security:
      - BasicAuth: []
components:
  securitySchemes:
    BasicAuth:
      type: http
      scheme: basic