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:
- 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.md before suggesting advanced fields.
Response And Error Rules
- Prefer backend-accurate response shapes from
references/api.md over 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_EXISTS or 400 RESERVED_SLUG: slug conflict/reserved slug.
429 RATE_LIMIT_EXCEEDED: throttle and retry after reset using X-RateLimit-Reset.
- Mention that rate-limit headers are available:
X-RateLimit-Limit
X-RateLimit-Remaining
X-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:
- 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, optional slug).
- 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_code query param.
Accuracy Guardrails
- Do not invent endpoints, parameters, or response fields.
- Do not claim
Retry-After support by default; rely on X-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