Disclaimer: This website requires JavaScript to function properly. Some features may not work as expected. Please enable JavaScript in your browser settings for the best experience.

The availability of features may depend on your plan type. Contact your Customer Success Manager if you have any questions.

Dev guideRecipesAPI Reference
Dev guideAPI ReferenceUser GuideLegal TermsGitHubDev CommunityOptimizely AcademySubmit a ticketLog In
API Reference

Create a New Flag

Creates a new Flag in a Project.

This operation corresponds to the create_url in a Flags response.

Required properties must be present in the request body.

Recipes
🚩
1. Create a flag and variables
Open Recipe

❗️

Warning

You must add a flag name, even though it is not labeled as required. Omiting a flag name will result in a 500 return code with: "Internal Server Error".

Language
Authorization
Click Try It! to start a request and see the response here!