Skip to Content
Quickstart

Quickstart

Create a workspace API key, send your first authenticated request, and use the returned short URL.

🔐
Keep the API key on a trusted server. Never place it in browser JavaScript, a mobile application, or a public repository.

Create an API key

Sign in to the Fupisha app and open API keys in the left navigation. Create a key and copy its secret when it appears; the full secret is only shown once. Store it as FUPISHA_API_KEY in your server environment.

This request creates one link. The destination must be an absolute http or https URL.

curl --fail-with-body https://api.fupisha.link/v1/links \ -H "Authorization: Bearer $FUPISHA_API_KEY" \ -H "Content-Type: application/json" \ -d '{"url":"https://example.com/campaign","campaign_name":"Spring launch"}'

The successful response includes short_url, code, destination_url, redirect_type, status, and created_at. Share short_url with your audience. Read click totals with the analytics API.

Example response

{ "id": "lnk_example", "code": "aB3xY9qK", "short_url": "https://fupisha.link/aB3xY9qK", "destination_url": "https://example.com/campaign", "redirect_type": 302, "status": "active", "created_at": "2026-11-12T10:00:00Z", "campaign_name": "Spring launch", "clicks": 0 }

Continue with authentication and scopes, link operations, or MCP setup.