Skip to content

Trial Days Left

List of valid attributes:

AttributeDescription
days_leftWhole 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.

GET /api/v1/trial_days_left

Example response:

{
"data": {
"id": "current user id",
"type": "trial_days_left",
"attributes": {
"days_left": 10
}
}
}