Daytona users API

The users API from Daytona — 5 operation(s) for users.

Operations 5

GET /users/me Get authenticated user #
GET /users/account-providers Get available account providers #
POST /users/linked-accounts Link account #
DELETE /users/linked-accounts/{provider}/{providerUserId} Unlink account #
POST /users/mfa/sms/enroll Enroll in SMS MFA #

Documentation

Specifications

Schemas & Data

Other Resources

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/daytona-io-users-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

daytona-io-users-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Daytona Users API
  description: Daytona Users API — users operations on the Daytona AI platform.
  version: '1.0'
  contact:
    name: Daytona Platforms Inc.
    url: https://www.daytona.io
    email: support@daytona.com
  license:
    name: Apache-2.0
    url: https://www.apache.org/licenses/LICENSE-2.0
servers:
- url: https://app.daytona.io/api
  description: Daytona Cloud production API
tags:
- name: users
paths:
  /users/me:
    get:
      operationId: getAuthenticatedUser
      parameters: []
      responses:
        '200':
          description: User details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/User'
      security:
      - bearer: []
      - oauth2:
        - openid
        - profile
        - email
      summary: Get authenticated user
      tags:
      - users
  /users/account-providers:
    get:
      operationId: getAvailableAccountProviders
      parameters: []
      responses:
        '200':
          description: Available account providers
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/AccountProvider'
      security:
      - bearer: []
      - oauth2:
        - openid
        - profile
        - email
      summary: Get available account providers
      tags:
      - users
  /users/linked-accounts:
    post:
      operationId: linkAccount
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateLinkedAccount'
      responses:
        '204':
          description: Account linked successfully
      security:
      - bearer: []
      - oauth2:
        - openid
        - profile
        - email
      summary: Link account
      tags:
      - users
  /users/linked-accounts/{provider}/{providerUserId}:
    delete:
      operationId: unlinkAccount
      parameters:
      - name: provider
        required: true
        in: path
        schema:
          type: string
      - name: providerUserId
        required: true
        in: path
        schema:
          type: string
      responses:
        '204':
          description: Account unlinked successfully
      security:
      - bearer: []
      - oauth2:
        - openid
        - profile
        - email
      summary: Unlink account
      tags:
      - users
  /users/mfa/sms/enroll:
    post:
      operationId: enrollInSmsMfa
      parameters: []
      responses:
        '200':
          description: SMS MFA enrollment URL
          content:
            application/json:
              schema:
                type: string
      security:
      - bearer: []
      - oauth2:
        - openid
        - profile
        - email
      summary: Enroll in SMS MFA
      tags:
      - users
components:
  schemas:
    User:
      type: object
      properties:
        id:
          type: string
          description: User ID
        name:
          type: string
          description: User name
        email:
          type: string
          description: User email
        publicKeys:
          description: User public keys
          type: array
          items:
            $ref: '#/components/schemas/UserPublicKey'
        createdAt:
          format: date-time
          type: string
          description: Creation timestamp
      required:
      - id
      - name
      - email
      - publicKeys
      - createdAt
    AccountProvider:
      type: object
      properties:
        name:
          type: string
        displayName:
          type: string
      required:
      - name
      - displayName
    CreateLinkedAccount:
      type: object
      properties:
        provider:
          type: string
          description: The authentication provider of the secondary account
        userId:
          type: string
          description: The user ID of the secondary account
      required:
      - provider
      - userId
    UserPublicKey:
      type: object
      properties:
        key:
          type: string
          description: Public key
        name:
          type: string
          description: Key name
      required:
      - key
      - name
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: http
      description: API Key access
    oauth2:
      type: openIdConnect
      openIdConnectUrl: http://localhost:3000/.well-known/openid-configuration