Return redirect URL for domain

This function retrieves a redirection URL for a domain.

SecurityBasicAuth
Request
query Parameters
domain
required
string <domain>

The domain's name.

Example: domain=example.com
Responses
200

HTTP Request was successful.

Response Schema: application/json
apiversion
integer

The version of the API.

func
string

The name of the method called.

module
string

The name of the module called.

object
get/Mime/get_redirect
Request samples
uapi --output=jsonpretty \
  --user=username \
  Mime \
  get_redirect \
  domain='example.com'
Response samples
application/json
{
  • "apiversion": 3,
  • "func": "get_redirect",
  • "module": "Mime",
  • "result": {
    • "data": {},
    • "errors": null,
    • "messages": null,
    • "metadata": { },
    • "status": 1,
    • "warnings": null
    }
}