Appy Apps API
Register the iOS and Android apps that use the Appy SDK. Each app gets a subdomain of `appy.to` that serves the Universal Link and App Link verification files, and a publishable key for the SDK. Available on the Enterprise plan.
Register the iOS and Android apps that use the Appy SDK. Each app gets a subdomain of `appy.to` that serves the Universal Link and App Link verification files, and a publishable key for the SDK. Available on the Enterprise plan.
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/appy-to:appy-to-apps-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: Appy Apps API
version: 1.0.0
summary: Create and manage smart links, read click statistics, connect AI assistants over MCP, and power the Appy mobile SDKs.
contact:
name: Appy support
url: https://appy.to/support
email: contact@appy.to
description: 'The Appy API has two audiences. **Your servers** use it to create and manage smart links, read their statistics and register the
mobile apps that use the Appy SDK. Everything the dashboard does with links, you can do from a CI
pipeline, a CMS hook or an internal tool. **Your AI assistants** get the same abilities through the Appy MCP server at `https://mcp.appy.to`:
Claude, Cursor, VS Code, Windsurf and other MCP clients can create and edit links and read their
statistics with a secret key. **Your mobile apps** talk to the two `/v1/sdk` endpoints through the Appy iOS and Android SDKs. You normally never call those endpoints yourself; they are documented so you can audit exactly
what the SDKs send. ## Quick start
```bash
curl https://api.appy.to/v1/links \
-H "Authorization: Bearer appy_sk_..." \
-H "Content-Type: application/json" \
-d ''{
"slug": "spring-sale",
"fallbackUrl": "https://acme.com/spring",
"deeplinkUrl": "acme://sale/spring",
"targets": {
"iphone": "https://apps.apple.com/app/id123456789",
"android": "https://play.google.com/store/apps/details?id=com.acme.shop"
}
}''
```
The response contains the short link (`https://appy.to/spring-sale`). iPhones go to the App Store
target, Android phones to Google Play, everything else to `fallbackUrl`. When `deeplinkUrl` is set,
phones first try to open the app and fall back to the store if it is not installed. ## Authentication
Every request carries one credential in the `Authorization` header:
```
Authorization: Bearer
```
| Credential | Looks like | Use it for | Where it lives |
|---|---|---|---|
| Secret key | `appy_sk_` + 40 characters | Links, statistics, apps | Your servers only. Never ship it in an app or a web page. |
| Publishable key | `appy_pk_` + 32 characters | `/v1/sdk/*` only | Inside your mobile app. It is public by design. |
| Dashboard session | a JWT, or the `accessToken` cookie | Everything except `/v1/sdk/*`; the only credential that can create or revoke secret keys | Your signed-in Appy session. |
Create a secret key in the dashboard (API keys page) or with `POST /v1/api-keys` while signed in to
Appy. Secret keys, the `/v1` link and statistics endpoints and the MCP server need the Business or
Enterprise plan; every plan can list and revoke its keys. The full key is returned
exactly once; Appy stores only a SHA-256 hash of it. An account can hold 10 active keys. A publishable
key is issued automatically when you register an app with `POST /v1/apps`. A secret key acts on behalf of the account that created it and inherits that account''s plan: the same
link limits and feature rules apply to the API as to the dashboard. ## Errors
Errors use conventional HTTP status codes and always have the same body:
```json
{
"error": {
"code": "validation_failed",
"message": "fallbackUrl must be a valid http(s) URL",
"requestId": "4b6f1c2e-7c1a-4bd6-9f36-2f1f0f7b8c11"
}
}
```
| Status | `code` | Meaning |
|---|---|---|
| 400 | `invalid_request` | The body is not valid JSON, has the wrong shape, or contains an unknown field. |
| 400 | `validation_failed` | The JSON is well formed but a value is not acceptable. `message` names the field. |
| 401 | `unauthorized` | Missing, malformed, unknown or revoked credential. |
| 403 | `forbidden` | The credential is valid but not allowed on this endpoint (for example a publishable key on `/v1/links`). |
| 403 | `plan_required` | The feature needs a higher plan. |
| 403 | `limit_reached` | A plan or account limit is exhausted (links, API keys, apps, custom domains). |
| 404 | `not_found` | The resource does not exist or belongs to another account. |
| 409 | `conflict` | The slug, subdomain or custom domain hostname is already taken. |
| 429 | `rate_limited` | Too many requests. Wait for the `Retry-After` seconds. |
| 500 | `internal_error` | Something failed on Appy''s side. Retrying is safe for reads. |
| 503 | `service_unavailable` | A dependency is temporarily down. Retry with backoff.'
x-logo:
url: https://appy.to/assets/appylogo.svg
altText: Appy
servers:
- url: https://api.appy.to
description: Production
security:
- secretKey: []
- dashboardSession: []
tags:
- name: Apps
description: 'Register the iOS and Android apps that use the Appy SDK. Each app gets a subdomain of `appy.to`
that serves the Universal Link and App Link verification files, and a publishable key for the SDK.
Available on the Enterprise plan.'
paths:
/v1/apps:
get:
tags:
- Apps
operationId: listApps
summary: List apps
responses:
'200':
description: The account's apps.
content:
application/json:
schema:
type: object
required:
- data
properties:
data:
type: array
items:
$ref: '#/components/schemas/App'
'401':
$ref: '#/components/responses/Unauthorized'
'429':
$ref: '#/components/responses/RateLimited'
post:
tags:
- Apps
operationId: createApp
summary: Register an app
description: 'Registers an app for the Appy SDK and returns its publishable key and link domain. Configure at
least one platform. Business and Enterprise plans; at most 20 apps per account.
The subdomain becomes the app''s link domain (`.appy.to`) and cannot be changed later.
Put `applinks:.appy.to` in the iOS Associated Domains entitlement and an
`android:autoVerify` intent filter for the same host in the Android manifest.'
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/AppCreate'
example:
name: Acme Shop
subdomain: acme
ios:
teamId: ABCDE12345
bundleId: com.acme.shop
appStoreId: '123456789'
android:
packageName: com.acme.shop
sha256CertFingerprints:
- 14:6D:E9:83:C5:73:06:50:D8:EE:B9:95:2F:34:FC:64:16:A0:83:42:E6:1D:BE:A8:8A:04:96:B2:3F:CF:44:E5
responses:
'201':
description: The app was registered.
headers:
Location:
description: Path of the new app.
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/App'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/PlanOrLimit'
'409':
$ref: '#/components/responses/Conflict'
'429':
$ref: '#/components/responses/RateLimited'
/v1/apps/{appId}:
parameters:
- $ref: '#/components/parameters/AppId'
get:
tags:
- Apps
operationId: getApp
summary: Get an app
responses:
'200':
description: The app.
content:
application/json:
schema:
$ref: '#/components/schemas/App'
'401':
$ref: '#/components/responses/Unauthorized'
'404':
$ref: '#/components/responses/NotFound'
patch:
tags:
- Apps
operationId: updateApp
summary: Update an app
description: 'Replace the iOS or Android configuration, or send `null` to remove a platform. An app must keep
at least one platform. Changes appear in the verification files within about a minute; Apple and
Google cache those files on their side for longer.
`strictAttribution: true` turns on strict attribution: only count installs Appy can verify;
everything else is organic. It applies to first launches from then on.'
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/AppUpdate'
example:
android: null
responses:
'200':
description: The updated app.
content:
application/json:
schema:
$ref: '#/components/schemas/App'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/PlanOrLimit'
'404':
$ref: '#/components/responses/NotFound'
delete:
tags:
- Apps
operationId: deleteApp
summary: Delete an app
description: 'Revokes the publishable key and frees the subdomain. Shipped app versions stop receiving deep
link data, and links on the app''s subdomain stop resolving. Install and event history is kept;
to erase one person''s data, use `DELETE /v1/apps/{appId}/installs?userId=` first.'
responses:
'204':
description: The app was deleted.
'401':
$ref: '#/components/responses/Unauthorized'
'404':
$ref: '#/components/responses/NotFound'
components:
headers:
RateLimitReset:
description: Unix time in seconds when the window resets.
schema:
type: integer
example: 1790330460
RateLimitLimit:
description: Requests allowed in the current one-minute window.
schema:
type: integer
example: 600
RateLimitRemaining:
description: Requests left in the current window.
schema:
type: integer
example: 598
RetryAfter:
description: Seconds to wait before retrying.
schema:
type: integer
example: 12
responses:
Conflict:
description: The slug, subdomain or hostname is already taken.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
error:
code: conflict
message: This slug is already in use. Choose another one.
requestId: 4b6f1c2e-7c1a-4bd6-9f36-2f1f0f7b8c11
NotFound:
description: The resource does not exist or belongs to another account.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
error:
code: not_found
message: Link not found.
requestId: 4b6f1c2e-7c1a-4bd6-9f36-2f1f0f7b8c11
RateLimited:
description: Too many requests.
headers:
Retry-After:
$ref: '#/components/headers/RetryAfter'
X-RateLimit-Limit:
$ref: '#/components/headers/RateLimitLimit'
X-RateLimit-Remaining:
$ref: '#/components/headers/RateLimitRemaining'
X-RateLimit-Reset:
$ref: '#/components/headers/RateLimitReset'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
error:
code: rate_limited
message: Rate limit exceeded. Retry after the number of seconds in the Retry-After header.
requestId: 4b6f1c2e-7c1a-4bd6-9f36-2f1f0f7b8c11
Unauthorized:
description: Missing, invalid or revoked credential.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
error:
code: unauthorized
message: Invalid or revoked API key.
requestId: 4b6f1c2e-7c1a-4bd6-9f36-2f1f0f7b8c11
PlanOrLimit:
description: The plan does not include the feature, a limit is reached, or the credential is not allowed here.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
examples:
planRequired:
value:
error:
code: plan_required
message: The SDK, deferred deep linking and install attribution are available on the Enterprise plan.
requestId: 4b6f1c2e-7c1a-4bd6-9f36-2f1f0f7b8c11
limitReached:
value:
error:
code: limit_reached
message: Link limit reached for your plan. Delete unused links or upgrade.
requestId: 4b6f1c2e-7c1a-4bd6-9f36-2f1f0f7b8c11
BadRequest:
description: The request is malformed or a value failed validation.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
examples:
invalidRequest:
value:
error:
code: invalid_request
message: Unknown field "titel".
requestId: 4b6f1c2e-7c1a-4bd6-9f36-2f1f0f7b8c11
validation:
value:
error:
code: validation_failed
message: fallbackUrl must be a valid http(s) URL
requestId: 4b6f1c2e-7c1a-4bd6-9f36-2f1f0f7b8c11
parameters:
AppId:
name: appId
in: path
required: true
schema:
type: string
format: uuid
schemas:
IOSConfig:
type: object
required:
- teamId
- bundleId
additionalProperties: false
properties:
teamId:
type: string
pattern: ^[A-Z0-9]{10}$
description: Apple Developer Team ID.
example: ABCDE12345
bundleId:
type: string
example: com.acme.shop
appStoreId:
type: string
pattern: ^[0-9]{5,12}$
description: Numeric App Store ID. Optional.
providerToken:
type: string
pattern: ^[0-9]{1,20}$
description: 'Optional App Store Connect provider token (the `pt` value of your campaign links). When it is set
together with `appStoreId`, Appy adds `pt`, `ct` (the link slug, cut to Apple''s 30-character limit) and `mt=8`
to App Store destinations of this app, so App Store Connect reports impressions, product page
views and downloads per Appy link. Campaign parameters you put on a target yourself are kept.
'
App:
type: object
required:
- id
- name
- subdomain
- linkDomain
- publishableKey
- ios
- android
- strictAttribution
- appleAdsAttribution
- metaDecryptionKeySet
- createdAt
- updatedAt
properties:
id:
type: string
format: uuid
name:
type: string
example: Acme Shop
subdomain:
type: string
example: acme
linkDomain:
type: string
description: Host to use in entitlements
manifests and shared links.: null
example: acme.appy.to
publishableKey:
type: string
description: Key for the SDK configuration. Safe to ship in the app.
example: appy_pk_4NkP0z0cS8y1v7QeXw2mTa9bLr3HdJ6u
ios:
oneOf:
- $ref: '#/components/schemas/IOSConfig'
- type: 'null'
android:
oneOf:
- $ref: '#/components/schemas/AndroidConfig'
- type: 'null'
strictAttribution:
type: boolean
description: 'Strict attribution: only count installs Appy can verify; everything else is organic.'
appleAdsAttribution:
type: boolean
description: Look up Apple Ads attribution for new iOS installs with the token the SDK sends.
metaDecryptionKeySet:
type: boolean
description: Whether a Meta Install Referrer decryption key is stored. The key itself is never returned.
createdAt:
type: string
format: date-time
updatedAt:
type: string
format: date-time
AndroidConfig:
type: object
required:
- packageName
- sha256CertFingerprints
additionalProperties: false
properties:
packageName:
type: string
example: com.acme.shop
sha256CertFingerprints:
type: array
minItems: 1
maxItems: 10
description: 'SHA-256 fingerprints of every certificate that signs a build users install: your upload or
debug key and, when you use Play App Signing, the app signing key from Play Console. With or
without colons; Appy stores them as `AA:BB:...`.
'
items:
type: string
AppCreate:
type: object
required:
- name
- subdomain
additionalProperties: false
properties:
name:
type: string
maxLength: 80
subdomain:
type: string
pattern: ^[a-z0-9](?:[a-z0-9-]{1,30}[a-z0-9])$
description: 3-32 characters. Some names such as `api`, `www` or `docs` are reserved.
ios:
$ref: '#/components/schemas/IOSConfig'
android:
$ref: '#/components/schemas/AndroidConfig'
strictAttribution:
type: boolean
default: false
description: 'Strict attribution: only count installs Appy can verify; everything else is organic.'
appleAdsAttribution:
type: boolean
default: true
description: Look up Apple Ads attribution for new iOS installs. No ATT prompt is needed.
metaDecryptionKey:
type: string
pattern: ^[0-9a-fA-F]{64}$
writeOnly: true
description: 'The Install Referrer Decryption Key from your Meta app dashboard (App settings > Basic >
Android). Lets Appy read Meta campaign data on Android installs. Stored encrypted.
'
Error:
type: object
required:
- error
properties:
error:
type: object
required:
- code
- message
- requestId
properties:
code:
type: string
enum:
- invalid_request
- validation_failed
- unauthorized
- forbidden
- plan_required
- limit_reached
- not_found
- conflict
- rate_limited
- internal_error
- service_unavailable
message:
type: string
description: Human-readable explanation. Do not parse it; branch on `code`.
requestId:
type: string
description: Identifier of the request, also sent as `X-Request-ID`.
AppUpdate:
type: object
additionalProperties: false
minProperties: 1
properties:
name:
type: string
maxLength: 80
ios:
oneOf:
- $ref: '#/components/schemas/IOSConfig'
- type: 'null'
android:
oneOf:
- $ref: '#/components/schemas/AndroidConfig'
- type: 'null'
strictAttribution:
type: boolean
description: 'Strict attribution: only count installs Appy can verify; everything else is organic.'
appleAdsAttribution:
type: boolean
metaDecryptionKey:
type:
- string
- 'null'
writeOnly: true
description: Set the Meta Install Referrer decryption key, or send null or an empty string to remove it.
securitySchemes:
secretKey:
type: http
scheme: bearer
bearerFormat: appy_sk_…
description: Secret API key for server-to-server calls.
publishableKey:
type: http
scheme: bearer
bearerFormat: appy_pk_…
description: Publishable app key, used by the mobile SDKs on `/v1/sdk` endpoints only.
dashboardSession:
type: http
scheme: bearer
bearerFormat: JWT
description: Access token of a signed-in Appy session.
sessionCookie:
type: apiKey
in: cookie
name: accessToken
description: The session cookie set by appy.to. Browsers on appy.to send it automatically.
x-tagGroups:
- name: Server API
tags:
- Account
- Links
- Domains
- Statistics
- Apps
- Attribution
- Postbacks
- API keys
- name: Client API
tags:
- Client API
x-provenance:
method: harvested
publisher: Appy
source: https://api.appy.to/v1/openapi.yaml
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)