create_partner_links
Generate Travelpayouts affiliate links from brand URLs and return branded short links tracked by sub_id for campaign attribution.
Instructions
Create Travelpayouts affiliate links from brand URLs via the Partner Links API (branded short links, tracked by sub_id). Requires TRAVELPAYOUTS_TOKEN, TRAVELPAYOUTS_MARKER and TRAVELPAYOUTS_TRS. Limits: max 10 URLs per call, 100 calls/min per marker.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"urls": "<urls>"
},
"name": "create_partner_links"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trs | No | Override project id (trs). | |
| urls | Yes | Brand URLs (long URLs with UTM tags). | |
| marker | No | Override partner marker. | |
| sub_id | No | Tracking label, e.g. tg_en_deals or seo_es. | |
| shorten | No | Return branded short link. |