This function retrieves a redirection URL for a domain.
uapi --output=jsonpretty \ --user=username \ Mime \ get_redirect \ domain='example.com'
{- "apiversion": 3,
- "func": "get_redirect",
- "module": "Mime",
- "result": {
- "errors": null,
- "messages": null,
- "metadata": { },
- "status": 1,
- "warnings": null
}
}