def METHOD_NAME(data, url, config, base_url=None):
    from notifications_utils.url_safe_token import generate_token
    token = generate_token(data, config["SECRET_KEY"])
    base_url = (base_url or config["ADMIN_BASE_URL"]) + url
    return base_url + token