Authenticate

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

Create authenticate wizard

Required API key scopes

team:read

Path parameters

  • id
    string

    A UUID string identifying this organization.

Request parameters

  • name
    string
  • logo_media_id
    string
  • is_member_join_email_enabled
    boolean
  • enforce_2fa
    boolean
  • members_can_invite
    boolean
  • members_can_use_personal_api_keys
    boolean
  • is_ai_data_processing_approved
    boolean
  • default_experiment_stats_method

    Default statistical method for new experiments in this organization.

    • bayesian - Bayesian
    • frequentist - Frequentist

Response


Request

POST /api/organizations/:id/authenticate_wizard
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/authenticate_wizard/\
-d name="string"

Response

Status 200
RESPONSE
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"slug": "string",
"logo_media_id": "a5d9f2f1-d934-4d2e-bebe-4b3cdcd08a33",
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z",
"membership_level": 1,
"plugins_access_level": 0,
"teams": [
{
"property1": null,
"property2": null
}
],
"projects": [
{
"property1": null,
"property2": null
}
],
"available_product_features": [
null
],
"is_member_join_email_enabled": true,
"metadata": "string",
"customer_id": "string",
"enforce_2fa": true,
"members_can_invite": true,
"members_can_use_personal_api_keys": true,
"member_count": "string",
"is_ai_data_processing_approved": true,
"default_experiment_stats_method": "bayesian"
}

Community questions

Was this page useful?