Appy Account API
Check which account and plan a credential belongs to.
Check which account and plan a credential belongs to.
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-account-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 Account 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: Account
description: Check which account and plan a credential belongs to.
paths:
/v1/account:
get:
tags:
- Account
operationId: getAccount
summary: Get the authenticated account
description: Handy for checking that a key works and which plan it runs on.
responses:
'200':
description: The account behind the credential.
headers:
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/Account'
example:
id: 0b7c1c86-8b1e-4d7b-9f6e-2a9f3d4c5e61
plan: business
credential: secret_key
features:
api: true
mcp: true
sdk: false
limits:
links: 500
usage:
links: 37
'401':
$ref: '#/components/responses/Unauthorized'
'429':
$ref: '#/components/responses/RateLimited'
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:
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
schemas:
Account:
type: object
required:
- id
- plan
- credential
- features
- limits
- usage
properties:
id:
type: string
format: uuid
plan:
type: string
enum:
- free
- pro
- business
- enterprise
credential:
type: string
enum:
- secret_key
- session
description: The kind of credential used for this request.
features:
type: object
required:
- api
- mcp
- sdk
properties:
api:
type: boolean
description: REST API access with secret keys.
mcp:
type: boolean
description: The MCP server for AI assistants.
sdk:
type: boolean
description: Apps
the SDK endpoints and install attribution.: null
limits:
type: object
required:
- links
properties:
links:
type:
- integer
- 'null'
description: Maximum number of links; null means unlimited.
usage:
type: object
required:
- links
properties:
links:
type: integer
description: Links the account has now.
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`.
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)