Skip to main content
Creates a duplicate of an existing plan, copying all of its feature assignments. The new plan gets a default name of "Original Name (Copy)" unless you specify a custom name.

Endpoint

Authentication

string
required
Bearer token with your API key. Requires read_write permission.

Path Parameters

string
required
The project’s URL-friendly slug identifier.
number
required
The ID of the plan to duplicate.

Body Parameters

string
Name for the duplicated plan. Defaults to "Original Name (Copy)" if not provided.

Response

Returns the newly created plan object with status 201 Created, including all copied feature assignments.

Example — Default Name

Example — Custom Name

Errors