API Docs
Server API

Server APIs

Use Server APIs from trusted backend services to manage links, publish customer events, and read analytics with the Server API Key.

Server API Key

Use the api-key header for workspace-owned resources.

Short-link and deep-link creation and management, domains, server events, link analytics, and raw-event export use this key.

Server Event Quickstart

Publish product events from your backend. Every event must identify an active workspace link using linkId, clickId, or attributionId.

Publish an event
curl -X POST "https://api.shortify.com/v1/events" \
  -H "api-key: sk_live_your_server_key" \
  -H "Content-Type: application/json" \
  --data '{
    "events": [{
      "name": "purchase",
      "eventId": "order-1001",
      "linkId": "link_01HV5A4W7QJ9K2X4Q8ZW5FGZ2R",
      "properties": {"currency": "USD", "value": 49}
    }]
  }'

Server API Reference

Secret-key APIs for short-link and deep-link management, read-only domains, customer events, and analytics.