Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

If using Bearer auth, pass the Secret Key as the token:

Body

application/json
name
string
required

Short display name. Put details in description.

owner
string

The userId or email address of the owner. If an email address is provided, it will be used to look up the userId of the matching organization member. If an ID is provided, it will be validated as existing in the organization. When omitted, it defaults to the requesting member: a personal access token's owner, or the member an organization API key assumes. An organization API key acting as itself leaves it empty.

description
string

Put context here, not in the name.

Maximum string length: 10000
publicId
string

URL-safe slug (lowercase letters, numbers, dashes). Auto-generated from name if not provided.

settings
object

Project stats settings that, when set, override the organization settings.

restrictAccess
boolean

When true, only members with an explicit role on this Project (directly or via a team) can access it. Members with the manageTeam permission retain access. Requires a Pro or Enterprise plan.

allowTargeting
boolean

Whether Feature Flags owned by other Projects may add this Project to their Targeting Projects. Defaults to true. Turning it off blocks new targeting (and All Projects); existing targeting is kept.

Response

Resource created

project
object
required