WarpLink SDK API
The SDK API from WarpLink, for sdk.
The SDK API from WarpLink, for sdk.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/warplink-app:warplink-app-sdk-api"
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.
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: 3.2.0
info:
title: WarpLink SDK 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: SDK
paths:
/sdk/validate:
get:
operationId: validateSdkKey
summary: Validate an SDK key
description: Validates the provided SDK key and returns the associated organization ID. Used by SDKs to verify configuration.
tags:
- SDK
responses:
'200':
description: Valid SDK key
content:
application/json:
schema:
type: object
required:
- valid
- org_id
- domains
properties:
valid:
type: boolean
const: true
org_id:
type: string
format: uuid
domains:
type: array
items:
type: string
description: 'Link domains owned by the organization: the shared domain, every app''s own subdomain, an app''s previous subdomain while a rename period is open, and any verified custom domains. SDKs use this to recognize WarpLink links.'
sdk_policy:
$ref: '#/components/schemas/SdkPolicy'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: Forbidden
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
components:
schemas:
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.'
SdkPolicy:
type: object
description: How an SDK paces its deferred match calls. Present on every 200 answer of `POST /v1/attribution/match` and `GET /v1/sdk/validate`. SDKs ship these same values as built-in defaults, keep the last block they received, and clamp each value to the bounds below. A missing or invalid block leaves the defaults in place, so an SDK that never reads it behaves the same.
required:
- retry_delays_seconds
- give_up_after_seconds
- max_install_age_seconds
- raw_signal_max_install_age_seconds
properties:
retry_delays_seconds:
type: array
minItems: 1
items:
type: integer
minimum: 60
maximum: 604800
description: How long an SDK waits before its next check after a check that sent a request and got no answer. The first delay follows the first failure, the second the next, and the last repeats. Each value is 60 seconds to 7 days.
example:
- 900
- 3600
- 21600
- 86400
give_up_after_seconds:
type: integer
minimum: 3600
maximum: 2592000
description: How long after its first failed check an SDK stops checking for good. 1 hour to 30 days.
example: 259200
max_install_age_seconds:
type: integer
minimum: 86400
maximum: 31536000
description: An app installed longer ago than this makes no check. 1 day to 365 days.
example: 2592000
raw_signal_max_install_age_seconds:
type: integer
minimum: 3600
description: An app installed longer ago than this sends its check without raw device signals. 1 hour to `max_install_age_seconds`.
example: 172800
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.'