Convex Custom Domains API

Configure custom domain names for Convex deployments. Supports both convexCloud (function API) and convexSite (HTTP actions) request destinations.

Operations 3

POST /deployments/{deployment_name}/create_custom_domain Create custom domain #
POST /deployments/{deployment_name}/delete_custom_domain Delete custom domain #
GET /deployments/{deployment_name}/custom_domains List custom domains #

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

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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

convex-custom-domains-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Convex Management Custom Domains API
  description: Management API for provisioning and managing Convex projects and deployments.
  license:
    name: LicenseRef-Convex
    identifier: LicenseRef-Convex
  version: 1.0.0
servers:
- url: https://api.convex.dev/v1
  description: Platform API
tags:
- name: Custom Domains
  description: Create, list, and delete custom domains
paths:
  /deployments/{deployment_name}/create_custom_domain:
    post:
      tags:
      - Custom Domains
      summary: Create custom domain
      operationId: createCustomDomain
      parameters:
      - name: deployment_name
        in: path
        description: Deployment name
        required: true
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PlatformDeleteCustomDomainArgs'
        required: true
      responses:
        '200':
          description: ''
      security:
      - PAT: []
      - OAuth Team Token: []
      - Team Token: []
      - OAuth Project Token: []
      x-operation-id-source: normalized
      x-operation-id-original: create custom domain
  /deployments/{deployment_name}/delete_custom_domain:
    post:
      tags:
      - Custom Domains
      summary: Delete custom domain
      description: Remove a custom domain from a deployment.
      operationId: deleteCustomDomain
      parameters:
      - name: deployment_name
        in: path
        description: Deployment name
        required: true
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PlatformDeleteCustomDomainArgs'
        required: true
      responses:
        '200':
          description: ''
      security:
      - PAT: []
      - OAuth Team Token: []
      - Team Token: []
      - OAuth Project Token: []
      x-operation-id-source: normalized
      x-operation-id-original: delete custom domain
  /deployments/{deployment_name}/custom_domains:
    get:
      tags:
      - Custom Domains
      summary: List custom domains
      description: Get all custom domains configured for a deployment.
      operationId: listCustomDomains
      parameters:
      - name: deployment_name
        in: path
        description: Deployment name
        required: true
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PlatformListCustomDomainsResponse'
      security:
      - PAT: []
      - OAuth Team Token: []
      - Team Token: []
      - OAuth Project Token: []
      x-operation-id-source: normalized
      x-operation-id-original: list custom domains
components:
  schemas:
    PlatformListCustomDomainsResponse:
      type: object
      required:
      - domains
      properties:
        domains:
          type: array
          items:
            $ref: '#/components/schemas/PlatformCustomDomainResponse'
          description: List of custom domains configured for this deployment.
    RequestDestination:
      type: string
      enum:
      - convexCloud
      - convexSite
    PlatformCustomDomainResponse:
      type: object
      required:
      - creationTime
      - deploymentName
      - requestDestination
      - domain
      properties:
        creationTime:
          type: integer
          format: int64
          description: Timestamp in milliseconds when this domain was created.
        deploymentName:
          type: string
          description: The deployment name this domain is configured for.
        requestDestination:
          $ref: '#/components/schemas/RequestDestination'
          description: The destination for this custom domain (convexCloud or convexSite).
        domain:
          type: string
          description: The custom domain name.
        verificationTime:
          type:
          - integer
          - 'null'
          format: int64
          description: 'Timestamp in milliseconds when this domain was verified, or null if not

            yet verified.'
    PlatformDeleteCustomDomainArgs:
      type: object
      required:
      - requestDestination
      - domain
      properties:
        requestDestination:
          $ref: '#/components/schemas/RequestDestination'
          description: The destination for this custom domain (convexCloud or convexSite).
        domain:
          type: string
          description: The custom domain name to delete.
  securitySchemes:
    OAuth_Project_Token:
      type: http
      scheme: bearer
      description: Obtained through a [Convex OAuth application](https://docs.convex.dev/management-api).
    OAuth_Team_Token:
      type: http
      scheme: bearer
      description: Obtained through a [Convex OAuth application](https://docs.convex.dev/management-api).
    PAT:
      type: http
      scheme: bearer
      bearerFormat: PAT
      description: Personal access token created in the Convex dashboard under user settings.
    Preview_Deploy_Key:
      type: http
      scheme: bearer
      description: Preview deploy key scoped to a project. Allowed only when operating on preview deployments in the key's project.
    Team_Token:
      type: http
      scheme: bearer
      description: Created in the dashboard under team settings for any team you can manage.
x-provenance:
  method: harvested
  publisher: Convex
  source: https://api.convex.dev/v1/openapi.json
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)