Auth.Create Link
auth.create_linkCreate a new affiliate link in your Affilio account.
IMPORTANT: This AUTHENTICATED tool creates a PERMANENT, account-owned
affiliate link at affilio.link/ur/{code}. The link lives in the
Affilio dashboard with full click analytics and does NOT expire.
Prefer this over the unauthenticated shorten_url whenever the user
wants a long-lived, tracked link.
Affilio validates the target URL, auto-classifies its affiliate network, and generates a short URL plus QR code automatically.
The response contains the new link's ID, short URL, affiliate classification,
labels, visibility status, and timestamps — everything needed for subsequent
auth.get_link, auth.update_link, or auth.add_product_link calls.
Requires Bearer token authentication (Authorization: Bearer <api_key>).
Returns an auth_error envelope if authentication fails.
Technical reference: https://affilio.link/blog/mcp-for-everyone
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The affiliate URL to shorten and track. Any valid HTTP/HTTPS affiliate link is accepted. Affilio auto-detects the affiliate network from the URL. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||