---
title: "Auto-approve organization access via domain or self-hosted check"
method: POST
path: "/v1/organization-access/auto-approve"
tags: ["Organization"]
---

# Auto-approve organization access via domain or self-hosted check

`POST /v1/organization-access/auto-approve`

Grants hasAccess on the active organization if the requesting user is an internal trycomp.ai user, the deployment is self-hosted, or the user email domain matches the organization website domain and is an active Stripe customer.

## Response `200`

---

[API](https://skmtc.net/trycompai/apis/comp-ai-api.md) · [All operations](https://skmtc.net/trycompai/apis/comp-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/trycompai/comp-ai-api/versions/726b9523fb22/schema)
