def METHOD_NAME():
    body = request.get_json()
    token = body.get("token")
    if token is None or token != REGISTER_WEBHOOK_TOKEN:
        raise Unauthorized()
    user_api_key = body["user_api_key"]
    user_email = body["user_email"]
    with WriteSession() as session:
        if User.find_user(user_email=user_email, api_key=user_api_key, session=session):
            return make_response(
                "User with email and/or API Key already exists, use different parameters or contact us for help",
                409,
            )
        User.create_user(api_key=user_api_key, email=user_email, session=session)
    return make_response(f"Successfully registered API key '{user_api_key}'", 200)