Create a shareable connection link
create_share_linkCreates a link (url) that lets whoever manages the DNS (an agency, the IT team) connect the given domains with the given records, without the application secret. The link is bound to those domains and records, single-use per domain by default (maxUses) and expires in 7 days by default (expiresInDays, at most 30). Returns the url, which carries a token returned only in this answer, and the share_link_id. Connections started from the link are listed like any other, with that share_link_id.
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": {
"domains": "<domains>",
"dnsRecords": "<dnsRecords>"
},
"name": "create_share_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | Your own note, never shown on the link page. | |
| userId | No | Your own user id, echoed in the job and its webhooks. | |
| domains | Yes | The domains the link may connect. | |
| maxUses | No | Connections each domain may start through the link. | |
| dnsRecords | Yes | Records your product needs. host is relative to the zone; placeholders {DOMAIN}, {SUBDOMAIN}, {SLD}, {TLD}; @ is the apex (no CNAME at the apex). | |
| expiresInDays | No | Days until the link expires. |