Import Links from Bitly
import_from_providerStart an asynchronous migration import from a third-party URL shortener (currently Bitly). You provide the user's Generic Access Token from the provider; awsys.co fetches their links and writes equivalent short codes in their account. Returns a jobId immediately — the job runs in the background; its progress is available by job ID. Available on Pro plans and higher, including the Pro trial (same as the REST endpoint POST /api/imports). Free-tier users receive a plan error.
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": {
"provider": "<provider>",
"access_token": "<access_token>"
},
"name": "import_from_provider"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| provider | Yes | Source provider. Currently only "bitly" is supported. | |
| scan_only | No | If true, count what would be imported without writing any short codes. Default: false. | |
| access_token | Yes | Provider Generic Access Token. For Bitly: 32+ hex chars from Settings → API → Generic Access Token. | |
| target_namespace | No | Optional awsys.co branded namespace prefix to land the imports under. Default: user's main namespace. |