Commet
  • Pricing
Log InTry out
Create feature POSTDelete feature DELETEGet feature access GETGet feature GETList feature access GETList features GETUpdate feature PUT
DocumentationKnowledge BaseBuild with AIAPI ReferenceWebhooks

List feature access

List all features for a customer's active subscription, scoped by the customerId query parameter.

Get feature GET

Get a single feature definition by code from the organization's feature catalog.

List features GET

List every feature defined in the organization. This is the organization's feature catalog (definitions), not a customer's feature access.

GET
/feature-access

Authorization

ApiKeyAuth
x-api-key<token>

In: header

Query Parameters

customerId*string

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://commet.co/api/v1/feature-access?customerId=string"

List all features for a customer's active subscription, scoped by the customerId query parameter.

{
  "success": true,
  "data": [
    {
      "code": "string",
      "name": "string",
      "type": "boolean",
      "allowed": true,
      "enabled": true,
      "current": 0,
      "included": 0,










{
  "success": false,
  "error": {
    "type": "string",
    "code": "string",
    "message": "string",
    "param": "string",
    "details": null,
    "doc_url": "string"
  }
}
{
  "success": false,
  "error": {
    "type": "string",
    "code": "string",
    "message": "string",
    "param": "string",
    "details": null,
    "doc_url": "string"
  }
}
{
  "success": false,
  "error": {
    "type": "string",
    "code": "string",
    "message": "string",
    "param": "string",
    "details": null,
    "doc_url": "string"
  }
}
{
  "success": false,
  "error": {
    "type": "string",
    "code": "string",
    "message": "string",
    "param": "string",
    "details": null,
    "doc_url": "string"
  }
}
"remaining": 0,
"overageQuantity": 0,
"overageUnitPrice": 0,
"unlimited": true,
"overageEnabled": true,
"billedQuantity": 0,
"object": "feature",
"livemode": true
}
]
}