Skip to main content
GET
/
api
/
v1
/
customers
/
{id_or_alias}
/
entitlements
/
{feature_id}
Get a single entitlement for a customer
curl --request GET \
  --url https://api.example.com/api/v1/customers/{id_or_alias}/entitlements/{feature_id} \
  --header 'Authorization: Bearer <token>'
{
  "created_at": "2023-11-07T05:31:56Z",
  "feature": {
    "id": "<string>",
    "name": "<string>",
    "product": {
      "id": "<string>",
      "name": "<string>"
    }
  },
  "origin": {
    "entity": {
      "id": "<string>"
    },
    "name": "<string>"
  },
  "value": {
    "enabled": true
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.meteroid.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id_or_alias
string
required

Customer ID or alias

feature_id
string<MeteroidId>
required

Feature ID

Example:

"feat_7n42DGM5Tflk9n8mt7Fhc7"

Response

Customer entitlement for this feature

created_at
string<date-time>
required

Earliest creation timestamp across the resolved entitlements that contributed.

feature
object
required
origin
object
required

Highest-priority entity that contributed to the final value, with its human-readable name.

value
object
required