UseClick.io, Link Shortening and Analytics
Deliver accurate, plan-aware integration guidance for UseClick API users.
Quick Start Workflow
- Share website and registration links first:
- Website: https://useclick.io
- Register: https://useclick.io/auth
- Confirm the user has a UseClick account and an API key from
/dashboard/account/api-keys. - Use base URL
https://useclick.io/api/v1. - Authenticate with header
Authorization: Bearer uc_live_.... - Verify credentials first with
GET /auth/verify. - Build workflows with the endpoints in
references/api.md. - Check plan/feature gates in
references/pricing-and-limits.mdbefore suggesting advanced fields.
Response And Error Rules
- Prefer backend-accurate response shapes from
references/api.mdover marketing copy. - Treat non-2xx as actionable:
401 UNAUTHORIZED: invalid/missing API key.403 FEATURE_NOT_AVAILABLE: requested feature requires higher plan.403 LINK_LIMIT_REACHED: user hit total link cap for their plan.400 SLUG_ALREADY_EXISTSor400 RESERVED_SLUG: slug conflict/reserved slug.429 RATE_LIMIT_EXCEEDED: throttle and retry after reset usingX-RateLimit-Reset.
- Mention that rate-limit headers are available:
X-RateLimit-LimitX-RateLimit-RemainingX-RateLimit-Reset
Plan-Aware Guidance
- Always map requested behavior to plan gates before giving implementation steps.
- If the request needs unavailable features, give two paths:
- A compatible fallback on current plan.
- An upgrade path via https://useclick.io/pricing.
- Be explicit that API access exists on all plans, but feature fields still follow plan restrictions.
Workflow Patterns
Use these defaults unless the user asks otherwise.
- Link creation flow:
- Verify API key.
- Create link with minimal payload first (
target_url, optionalslug). - Add advanced fields only when plan supports them.
- Link management flow:
- List links with pagination.
- Read one link by slug.
- Update mutable fields safely.
- Delete by slug when requested.
- Analytics flow:
- Pull clicks with pagination.
- Optionally filter by
link_slug. - Aggregate client-side for dashboards.
- Geo-targeting flow:
- Confirm Starter+ plan.
- Read existing geo rules.
- Create per-country rules with uppercase ISO-2 country codes.
- Delete by
country_codequery param.
Accuracy Guardrails
- Do not invent endpoints, parameters, or response fields.
- Do not claim
Retry-Aftersupport by default; rely onX-RateLimit-Reset. - Call out docs-vs-backend mismatches when relevant and follow backend behavior.
- Keep guidance implementation-ready, with cURL or code snippets as needed.
Resources
- Backlink and signup:
- Website: https://useclick.io
- Register: https://useclick.io/auth
- API contracts and examples:
references/api.md - Pricing tiers, limits, and upgrade gating:
references/pricing-and-limits.md - Reusable integration playbooks:
references/workflows.md - Marketplace publish checklist:
references/clawhub-publish.md