Request Ai

For instructions on how to authenticate to use this endpoint, see API overview.

Endpoints

POST

Create request ai access

Notify organization admins that a member is requesting PostHog AI be enabled.

Path parameters

  • id
    string

Response


Example request

POST /api/organizations/:id/request_ai_access
export POSTHOG_PERSONAL_API_KEY=[your personal api key]
curl
-H 'Content-Type: application/json'\
-H "Authorization: Bearer $POSTHOG_PERSONAL_API_KEY" \
<ph_app_host>/api/organizations/:id/request_ai_access/

Example response

Status 200
RESPONSE
{
"success": true
}

Community questions