2ndKitchen Authentication API

The Authentication API from 2ndKitchen — 5 operation(s) for authentication.

Operations 5

POST /authenticate/phone_number
POST /authenticate/google
POST /authenticate/facebook
POST /authenticate/phone_number/v2
POST /verifications/phone_number

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/2ndkitchen-authentication-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 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. See our Privacy Policy and Terms.

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

OpenAPI Specification

2ndkitchen-authentication-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: 2ndKitchen - Service Authentication API
  version: '1.0'
servers:
- url: https://auth-staging.2ndkitchen.com
  description: staging
tags:
- name: Authentication
paths:
  /authenticate/phone_number:
    post:
      requestBody:
        required: true
        content:
          application/json:
            schema:
              required:
              - phone_number
              - business_id
              type: object
              properties:
                business_id:
                  description: Id for business
                  type: integer
                phone_number:
                  description: User phone number
                  type: string
      description: Authenticate a user via phone number
      tags:
      - Authentication
      responses:
        '200':
          description: Returns the access token and the refresh token
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                    example: ok
                  data:
                    type: object
                    properties:
                      access_token:
                        description: User access token
                        type: string
                        example: ffc4ff
                      refresh_token:
                        description: User refresh token
                        type: string
                        example: kt6kht
  /authenticate/google:
    post:
      requestBody:
        required: true
        content:
          application/json:
            schema:
              required:
              - code
              - business_id
              type: object
              properties:
                business_id:
                  description: Business id
                  type: integer
                code:
                  description: Google auth code
                  type: string
                redirect_uri:
                  description: Redirect uri
                  type: string
      description: Authenticate a user via google
      tags:
      - Authentication
      responses:
        '200':
          description: Returns the access token and the refresh token
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                    example: ok
                  data:
                    type: object
                    properties:
                      access_token:
                        description: User access token
                        type: string
                        example: ffc4ff
                      refresh_token:
                        description: User refresh token
                        type: string
                        example: kt6kht
  /authenticate/facebook:
    post:
      requestBody:
        required: true
        content:
          application/json:
            schema:
              required:
              - code
              - business_id
              type: object
              properties:
                business_id:
                  description: Business id
                  type: integer
                code:
                  description: Facebook auth code
                  type: string
      description: Authenticate a user via facebook
      tags:
      - Authentication
      responses:
        '200':
          description: Returns the access token and the refresh token
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                    example: ok
                  data:
                    type: object
                    properties:
                      access_token:
                        description: User access token
                        type: string
                        example: ffc4ff
                      refresh_token:
                        description: User refresh token
                        type: string
                        example: kt6kht
  /authenticate/phone_number/v2:
    post:
      requestBody:
        required: true
        content:
          application/json:
            schema:
              required:
              - phone_number
              - verification_code
              - business_id
              type: object
              properties:
                business_id:
                  description: Id for business
                  type: integer
                verification_code:
                  description: SMS Verification code
                  type: string
                phone_number:
                  description: User phone number
                  type: string
      description: Authenticate a user via phone number
      tags:
      - Authentication
      responses:
        '200':
          description: Returns the access token and the refresh token
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                    example: ok
                  data:
                    type: object
                    properties:
                      access_token:
                        description: User access token
                        type: string
                        example: ffc4ff
                      refresh_token:
                        description: User refresh token
                        type: string
                        example: kt6kht
  /verifications/phone_number:
    post:
      requestBody:
        required: true
        content:
          application/json:
            schema:
              required:
              - phone_number
              type: object
              properties:
                phone_number:
                  description: Phone number to verify
                  type: string
      description: Authenticate a user via phone number
      tags:
      - Authentication
      responses:
        '200':
          description: Sends a temporary verification token to the provided phone number
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                    example: ok