Product

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

Endpoints

POST

Create product enablement

Required API key scopes

product_enablement:write

Request parameters

  • products
    Click to open
    array

Response


Example request

POST /api/projects/:project_id/product_enablement
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/projects/:project_id/product_enablement/\
-d products="array"

Example response

Status 200
RESPONSE
{
"results": {
"property1": "string",
"property2": "string"
}
}

Community questions

Questions about this page? or post a community question.