> ## Documentation Index
> Fetch the complete documentation index at: https://docs.methodfi.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create a Subscription

Enrolls an Entity to a Subscription. Once
enrolled, the Subscription name and details will be present
on the response object.

## Path Parameters

## Body

## Returns

Returns a Subscription object.

```bash cURL theme={null}
curl https://production.methodfi.com/entities/ent_TYHMaRJUUeJ7U/subscriptions \
  -X POST \
  -H "Method-Version: 2025-07-04" \
  -H "Authorization: Bearer sk_WyZEWVfTcH7GqmPzUPk65Vjc" \
  -H "Content-Type: application/json" \
  -d '{
    "enroll": "credit_score"
  }'
```

```javascript Node.js theme={null}
const response = await method
  .entities("ent_TYHMaRJUUeJ7U")
  .subscriptions
  .create({
    enroll: 'credit_score',
  });
```

```python Python theme={null}
response = method
  .entities('ent_TYHMaRJUUeJ7U')
  .subscriptions
  .create({
    'enroll': 'credit_score',
  })
```

```json theme={null}
{
  "id": "sub_c3a7hVjHCJzF3",
  "name": "credit_score",
  "status": "active",
  "payload": null,
  "latest_request_id": null,
  "created_at": "2024-04-18T18:48:33.875Z",
  "updated_at": "2024-04-18T18:48:33.875Z"
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.