Shiply Custom Domains API

The Custom Domains API from Shiply — 6 operation(s) for custom domains.

GitHub OpenAPI

Operations 7

GET /api/v1/custom-domains List the caller's custom domains and their subdomain mappings (owner) #
POST /api/v1/custom-domains Add a root domain and detect its DNS provider #
DELETE /api/v1/custom-domains/{domain} Remove a custom domain and all its subdomain mappings #
POST /api/v1/custom-domains/{domain}/subdomains Map a subdomain to a site slug #
POST /api/v1/custom-domains/{domain}/connect Start an OAuth provider connection for one-click DNS setup; returns an… #
POST /api/v1/custom-domains/{domain}/sync-dns Re-push DNS records to a connected provider (use after external DNS changes) #
POST /api/v1/custom-domains/{domain}/check Live CNAME resolution + SSL + readiness check for a domain or subdomain #

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/shiply-now:shiply-now-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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

shiply-now-custom-domains-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: shiply.now Custom Domains API
  version: 1.1.0
  description: 'Instant static web hosting for agents. Publish files, get a live URL at .shiply.now. Anonymous sites expire in 24h (claimable); API-key publishes are permanent.


    This spec covers the core publish, domain, variable, device-flow, and site-read surfaces. The advanced REST surfaces — databases, functions/secrets/crons, projects, contracts, marketplace (listings/orders/connect), sending-domains, Site Data (/.shiply/data/), and Agent Email (zero-config capture at /.shiply/email; authenticated /api/v1/email/send + /api/v1/email/inbox; mailbox config/broadcast/contacts under /api/v1/publishes//mailboxes/) — are documented in /llms.txt and exposed as native MCP tools at /mcp (call tools/list for the authoritative set).'
servers:
- url: https://shiply.now
tags:
- name: Custom Domains
paths:
  /api/v1/custom-domains:
    get:
      summary: List the caller's custom domains and their subdomain mappings (owner)
      security:
      - ApiKey: []
      parameters:
      - name: Authorization
        in: header
        required: false
        schema:
          type: string
        description: Bearer shp_… API key (omit for anonymous publishing)
      responses:
        '200':
          description: array of domain objects with subdomains and provider info
        '401':
          description: Error
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
      tags:
      - Custom Domains
      operationId: getApiV1CustomDomains
      x-operation-id-source: derived
    post:
      summary: Add a root domain and detect its DNS provider
      security:
      - ApiKey: []
      parameters:
      - name: Authorization
        in: header
        required: false
        schema:
          type: string
        description: Bearer shp_… API key (omit for anonymous publishing)
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - domain
              properties:
                domain:
                  type: string
                  description: root domain, e.g. example.com
      responses:
        '200':
          description: domain object with detected provider and next steps
        '400':
          description: Error
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
        '401':
          description: Error
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
        '402':
          description: Error
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
        '409':
          description: Error
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
      tags:
      - Custom Domains
      operationId: postApiV1CustomDomains
      x-operation-id-source: derived
  /api/v1/custom-domains/{domain}:
    delete:
      summary: Remove a custom domain and all its subdomain mappings
      security:
      - ApiKey: []
      parameters:
      - name: domain
        in: path
        required: true
        schema:
          type: string
        description: root domain, e.g. example.com
      - name: Authorization
        in: header
        required: false
        schema:
          type: string
        description: Bearer shp_… API key (omit for anonymous publishing)
      responses:
        '200':
          description: deleted
        '401':
          description: Error
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
        '404':
          description: Error
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
      tags:
      - Custom Domains
      operationId: deleteApiV1CustomDomainsByDomain
      x-operation-id-source: derived
  /api/v1/custom-domains/{domain}/subdomains:
    post:
      summary: Map a subdomain to a site slug
      security:
      - ApiKey: []
      parameters:
      - name: domain
        in: path
        required: true
        schema:
          type: string
      - name: Authorization
        in: header
        required: false
        schema:
          type: string
        description: Bearer shp_… API key (omit for anonymous publishing)
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - subdomain
              - slug
              properties:
                subdomain:
                  type: string
                  description: full subdomain, e.g. www.example.com
                slug:
                  type: string
                  description: the site slug to serve at this subdomain
      responses:
        '200':
          description: subdomain mapping created; DNS record details included
        '400':
          description: Error
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
        '401':
          description: Error
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
        '409':
          description: Error
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
      tags:
      - Custom Domains
      operationId: postApiV1CustomDomainsByDomainSubdomains
      x-operation-id-source: derived
  /api/v1/custom-domains/{domain}/connect:
    post:
      summary: Start an OAuth provider connection for one-click DNS setup; returns an…
      security:
      - ApiKey: []
      parameters:
      - name: domain
        in: path
        required: true
        schema:
          type: string
      - name: Authorization
        in: header
        required: false
        schema:
          type: string
        description: Bearer shp_… API key (omit for anonymous publishing)
      responses:
        '200':
          description: '{ url } — open in browser to authorize DNS writes'
        '400':
          description: provider does not support one-click connect; use manual DNS
        '401':
          description: Error
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
        '404':
          description: Error
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
      tags:
      - Custom Domains
      operationId: postApiV1CustomDomainsByDomainConnect
      x-operation-id-source: derived
  /api/v1/custom-domains/{domain}/sync-dns:
    post:
      summary: Re-push DNS records to a connected provider (use after external DNS changes)
      security:
      - ApiKey: []
      parameters:
      - name: domain
        in: path
        required: true
        schema:
          type: string
      - name: Authorization
        in: header
        required: false
        schema:
          type: string
        description: Bearer shp_… API key (omit for anonymous publishing)
      responses:
        '200':
          description: sync result with records written
        '401':
          description: Error
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
        '404':
          description: Error
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
      tags:
      - Custom Domains
      operationId: postApiV1CustomDomainsByDomainSyncDns
      x-operation-id-source: derived
  /api/v1/custom-domains/{domain}/check:
    post:
      summary: Live CNAME resolution + SSL + readiness check for a domain or subdomain
      security:
      - ApiKey: []
      parameters:
      - name: domain
        in: path
        required: true
        schema:
          type: string
      - name: Authorization
        in: header
        required: false
        schema:
          type: string
        description: Bearer shp_… API key (omit for anonymous publishing)
      responses:
        '200':
          description: '{ cname: bool, ssl: { valid, issuer, daysLeft }, http: bool, ready: bool }'
        '401':
          description: Error
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
        '404':
          description: Error
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
      tags:
      - Custom Domains
      operationId: postApiV1CustomDomainsByDomainCheck
      x-operation-id-source: derived
components:
  securitySchemes:
    ApiKey:
      type: http
      scheme: bearer
      description: shp_… API key