---
title: "Add feature to profile"
method: POST
path: "/subscription/feature-profiles/{profile_id}/features"
tags: ["Feature Profiles"]
---

# Add feature to profile

`POST /subscription/feature-profiles/{profile_id}/features`

## Request

- Base URL: `https://app.mammoth.io/api/v2`
- URL: `https://app.mammoth.io/api/v2/subscription/feature-profiles/{profile_id}/features`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-KEY` and API key in header `X-API-SECRET` and API key in header `X-WORKSPACE-ID`

## Path parameters

- `profile_id` integer, required

## Request body

- AddFeatureToProfileRequestSchema
  - `feature_id` integer, required
  - `price_per_month` number, nullable
  - `enabled` boolean, nullable
  - `value` string, nullable

## Response `201`

Document created, URL follows

- AddFeatureToProfileResponseSchema
  - `feature` SubscriptionsSchemaFeatureSchema, required
    - `id` integer, required
    - `name` string, required
    - `description` string, nullable
    - `enabled` boolean, required
    - `kind` string, nullable: capacity | meter | enum | switch
    - `unit` string, nullable: Display unit (GB, /mo, days)
    - `group_name` string, nullable: Scale | Access | Brand | Governance | Service. NULL means the key is NEVER GATED — granted on every plan, listed apart from the registry
    - `enforcement` string, nullable: enforced | unenforced | unbuilt | unconfirmed | split | commitment
    - `note` string, nullable: What the product actually does today
    - `created_at` string, nullable
    - `updated_at` string, nullable
    - `used_in_profiles` string[], nullable
    - `values` string[], nullable
    - `value` string, nullable
    - `profile_count` integer, nullable
    - `number_of_values` integer, nullable
  - `message` string, required

## Other responses

- `400`: Bad request syntax or unsupported method

---

[API](https://skmtc.dev/mammoth/apis/mammoth-analytics.md) · [All operations](https://skmtc.dev/mammoth/apis/mammoth-analytics/llms.txt) · [OpenAPI document](https://skmtc.dev/mammoth/apis/mammoth-analytics/revisions/9d8804f81a10?raw)
