Installation
Getting Started
- Create an account at https://admin.dynalink.app
- Create a new project in the admin panel
- 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
- Store your project key in environment variables — never hard-code it
- Keep the key server-side; do not expose it in client-side JavaScript or mobile app bundles
- 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.