WarpLink Domains API

The Domains API from WarpLink, for domains.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 5

POST /domains Add a custom domain #
GET /domains List custom domains #
GET /domains/{id} Get a custom domain #
DELETE /domains/{id} Delete a custom domain #
POST /domains/{id}/verify Verify a custom domain's DNS configuration #

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/warplink-app:warplink-app-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

warplink-app-domains-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: WarpLink Domains API
  version: 1.0.0
  description: 'Link infrastructure API for developers and small teams: deep linking, install attribution, and analytics.'
servers:
- url: https://api.warplink.app/v1
  description: Production
- url: http://localhost:3000/api/v1
  description: Development
security:
- bearerAuth: []
tags:
- name: Domains
paths:
  /domains:
    post:
      operationId: createDomain
      summary: Add a custom domain
      tags:
      - Domains
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - domain
              properties:
                domain:
                  type: string
                  minLength: 4
                  maxLength: 255
                  example: links.myapp.com
                  description: Must be a subdomain such as links.yourapp.com. Root domains, IP addresses and reserved domains (aplnk.to, warplink.app) are not allowed.
      responses:
        '201':
          description: Domain created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Domain'
        '400':
          description: Validation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Forbidden, plan upgrade required, or domain limit exceeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: Domain already registered
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    get:
      operationId: listDomains
      summary: List custom domains
      tags:
      - Domains
      parameters:
      - $ref: '#/components/parameters/limitParam'
      - $ref: '#/components/parameters/offsetParam'
      responses:
        '200':
          description: List of custom domains
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/Domain'
                  pagination:
                    $ref: '#/components/schemas/Pagination'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /domains/{id}:
    get:
      operationId: getDomain
      summary: Get a custom domain
      tags:
      - Domains
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: Domain details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Domain'
        '400':
          description: Invalid ID
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    delete:
      operationId: deleteDomain
      summary: Delete a custom domain
      tags:
      - Domains
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: Deleted domain
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Domain'
        '400':
          description: Invalid ID
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /domains/{id}/verify:
    post:
      operationId: verifyDomain
      summary: Verify a custom domain's DNS configuration
      tags:
      - Domains
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: Verification result
          content:
            application/json:
              schema:
                oneOf:
                - type: object
                  required:
                  - verified
                  - domain
                  properties:
                    verified:
                      type: boolean
                      const: true
                    domain:
                      $ref: '#/components/schemas/Domain'
                - type: object
                  required:
                  - verified
                  - domain
                  - dns
                  properties:
                    verified:
                      type: boolean
                      const: false
                    domain:
                      $ref: '#/components/schemas/Domain'
                    dns:
                      type: object
                      properties:
                        expected_cname:
                          type: string
                          example: links.aplnk.to
                        current_cname:
                          type:
                          - string
                          - 'null'
                        message:
                          type: string
        '400':
          description: Invalid ID
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Domain:
      type: object
      properties:
        id:
          type: string
          format: uuid
        org_id:
          type: string
          format: uuid
        domain:
          type: string
          example: links.myapp.com
        verified:
          type: boolean
        ssl_status:
          type: string
        verification_token:
          type: string
        verified_at:
          type:
          - string
          - 'null'
          format: date-time
        claimed_at:
          type:
          - string
          - 'null'
          format: date-time
          description: Set when this organization proved DNS control and won the exclusive claim on this domain. Null for a pending, unproven claim.
        serving_state:
          type: string
          enum:
          - active
          - grace
          - inactive
          description: Computed from the plan and any trial grace window.
        grace_until:
          type:
          - string
          - 'null'
          format: date-time
          description: Present only while serving_state is grace.
        is_trial:
          type: boolean
          description: True for a free-tier trial domain.
        trial_ends_at:
          type:
          - string
          - 'null'
          format: date-time
          description: The trial's hard end date. Null when the domain is not a trial.
        trial_data_reset_at:
          type:
          - string
          - 'null'
          format: date-time
          description: The next monthly analytics reset for a trial domain. Null when the domain is not a trial.
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
    Error:
      type: object
      required:
      - error
      properties:
        error:
          type: object
          required:
          - code
          - message
          properties:
            code:
              type: string
              description: 'A stable machine-readable code. 403 `SDK_KEY_ROUTE_FORBIDDEN` means an SDK key was used on an endpoint that is not an SDK endpoint, or on the MCP server. Use an API key for that request. 400 `RECOVERY_TOKEN_INVALID` and `RECOVERY_TOKEN_EXPIRED` mean the referral token sent to `POST /v1/attribution/match` was refused. 503 `RECOVERY_TOKEN_PENDING` means the token is genuine but was issued moments ago and its invitation has not arrived yet: retry after the `Retry-After` delay.'
              example: NOT_FOUND
            message:
              type: string
              example: Link not found
            details:
              type: object
              properties:
                fields:
                  type: array
                  items:
                    type: object
                    properties:
                      field:
                        type: string
                      message:
                        type: string
                subject:
                  type: string
                  enum:
                  - range
                  - comparison
                  description: 'On LOOKBACK_EXCEEDED: whether the requested range or its comparison period starts too early.'
                lookback_days:
                  type: integer
                  description: 'On LOOKBACK_EXCEEDED: how many days back the plan reads.'
                earliest_allowed:
                  type: string
                  format: date-time
                  description: 'On LOOKBACK_EXCEEDED: the first instant the plan may read.'
                fix:
                  type: string
                  description: What to do next, in one imperative sentence. Present on every code in the error reference. Apply it before you retry.
                docs_url:
                  type: string
                  format: uri
                  description: The code's row in the error reference, for example `https://warplink.app/docs/errors#sdk_key_route_forbidden`.
                retry_after:
                  type: integer
                  description: 'On AGENT_SIGNUP_RATE_LIMITED: seconds to wait before the next call. The `Retry-After` header carries the same number.'
    Pagination:
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        offset:
          type: integer
        has_more:
          type: boolean
  parameters:
    offsetParam:
      name: offset
      in: query
      schema:
        type: integer
        default: 0
        minimum: 0
    limitParam:
      name: limit
      in: query
      schema:
        type: integer
        default: 20
        minimum: 1
        maximum: 100
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'An API key for the REST endpoints, or an SDK key for the SDK and attribution endpoints. Both are `wl_live_` for Production or `wl_test_` for Test mode, followed by 32 alphanumeric characters. The prefix decides the environment: a `wl_test_` key reads and writes Test data only, and a `wl_live_` key reads and writes Production data only. A Production id sent with a Test key answers 404 `NOT_FOUND`. A Test key on an endpoint that manages the organization itself answers 403 `ENVIRONMENT_NOT_SUPPORTED`. Only an SDK key can record install attribution. An SDK key can call only `GET /v1/sdk/validate`, `GET /v1/links/resolve/{slug}`, `POST /v1/attribution/match`, and `POST /v1/referrals/claims`. Any other endpoint answers it with 403 `SDK_KEY_ROUTE_FORBIDDEN`: use an API key for that request.'