Incy Links

Incy Links REST API

JSON over HTTP, bearer-token auth, predictable responses. Build integrations in any language. Enterprise plan.

Quick start

curl https://incy.my/api/v1/me \
  -H "Authorization: Bearer stk_YOUR_KEY_HERE"

Authentication

Every request needs an Authorization: Bearer <key> header. Mint keys at /admin/api-keys — name them per integration (e.g. zapier-prod, internal-cron) so you can revoke individual keys without breaking others.

Keys are shown once when minted. Store them in a secret manager — we only keep a hash. Revoke from the same page.

Base URL

https://incy.my/api/v1

Endpoints

GET /meReturns user, org, available domains, folders, bio pages
GET /linksList links. Params: search, tag_id
POST /linksCreate a link
GET /links/{id}Fetch one link with stats
PATCH /links/{id}Update (owner only)
DELETE /links/{id}Delete (owner only)
GET /links/{id}/statsClick stats payload
GET /tagsList org tags
POST /tagsCreate a tag

Creating a link

curl -X POST https://incy.my/api/v1/links \
  -H "Authorization: Bearer stk_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "destination_url": "https://example.com/some/page",
    "title": "Spring launch",
    "tags": ["launch", "q2"],
    "folder_id": 3,
    "utm": { "utm_source": "linkedin", "utm_medium": "social" }
  }'

Optional fields you might use:

Response (201):

{
  "data": {
    "id": 42,
    "slug": "k7Qn2b",
    "short_url": "https://incy.my/k7Qn2b",
    "destination_url": "https://example.com/some/page?utm_source=linkedin&utm_medium=social",
    "title": "Spring launch",
    "is_active": true,
    "folder": { "id": 3, "name": "Campaigns" },
    "tags": [{"id": 8, "name": "launch"}, {"id": 9, "name": "q2"}],
    "owner": { "id": 1, "name": "Jane Doe" }
  }
}

Error responses

401Missing or invalid bearer token
402Plan doesn't include API access (Enterprise required)
403You don't own this resource
404Resource not found
422Validation error (message in error field)
500Internal error — please report

Error body shape:

{ "error": "That slug is already in use on incy.my" }

Conventions

Full guide

The full user guide at /help covers everything else: dashboard, billing, bio pages, custom domains, folders, tags, etc. The bits above are the API-specific surface.

Build something with it.

Start free trial

Mint a key after signup at /admin/api-keys.