# Create Variant. **POST /api/teams/{team}/experiments/{experiment}/variants** ## Servers - https://checkmango.com: https://checkmango.com () ## Authentication methods - Default ## Parameters #### Path parameters - **team** (integer) The ID of the team that the variant belongs to. - **experiment** (string) The experiment key that the variants belong to. ## Body parameters Content-type: application/json - **key** (string) The key to use for the variant. Must match the regex /^[a-z0-9]+(?:_[a-z0-9]+)*$/i. Must not be greater than 255 characters. - **control** (boolean) Whether the variant is the control. - **description** (string) The description of the variant. - **traffic** (string) The amount of traffic the variant should receive. This is only needed if the experiment is using Weighted Variants. Must be at least 0 characters. Must not be greater than 100 characters. ## Responses ### 200: #### Body Parameters: application/json (object) - **data** (object) ### 402: #### Body Parameters: application/json (object) - **message** (string) ### 403: #### Body Parameters: application/json (object) - **message** (string) ### 404: #### Body Parameters: application/json (object) - **message** (string) ### 422: #### Body Parameters: application/json (object) - **message** (string) - **errors** (object) [Powered by Bump.sh](https://bump.sh)