def METHOD_NAME(self, request: Request, organization) -> Response:
    if not request.user.is_authenticated:
        return Response(status=401)
    provider_id = request.data.get("provider")
    if provider_id is not None and provider_id.startswith("integrations:"):
        try:
            provider_cls = bindings.get("integration-repository.provider").get(provider_id)
        except KeyError:
            return Response({"error_type": "validation"}, status=400)
        provider = provider_cls(id=provider_id)
        return provider.dispatch(request, organization)
    try:
        provider_cls = bindings.get("repository.provider").get(provider_id)
    except KeyError:
        return Response({"error_type": "validation"}, status=400)
    provider = provider_cls(id=provider_id)
    return provider.dispatch(request, organization)