Installation


Getting Started

  1. Create an account at https://admin.dynalink.app
  2. Create a new project in the admin panel
  3. Copy the generated Project Key from the project settings

Authentication

Every API request requires the x-project-key header:

x-project-key: YOUR_PROJECT_KEY

Security Best Practices

  1. Store your project key in environment variables — never hard-code it
  2. Keep the key server-side; do not expose it in client-side JavaScript or mobile app bundles
  3. Rotate the key from the admin panel if it is ever compromised

Example Request

fetch('https://dynalink.app/api/links', {
  method: 'POST',
  headers: {
    'x-project-key': process.env.DYNALINK_PROJECT_KEY,
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({ actual_url: 'https://yourapp.io' })
})
curl -X POST https://dynalink.app/api/links \
  -H "x-project-key: YOUR_PROJECT_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "actual_url": "https://yourapp.io" }'

{tip} See the Links, Campaigns, Attribution, and Webhooks sections for full endpoint references.