Trial Days Left
List of valid attributes:
| Attribute | Description |
|---|---|
| days_left | Whole days remaining until the active subscription trial ends (minimum 0). |
This endpoint returns how many days remain on the current account’s active
subscription trial. The caller must have billing.read or billing.update on
the account. If there is no active trial, the API responds with 404 Not Found.
HTTP Request
Section titled “HTTP Request”GET /api/v1/trial_days_left
Example response:
{ "data": { "id": "current user id", "type": "trial_days_left", "attributes": { "days_left": 10 } }}