Subscriptions

Assign Subscription

Assign a subscription plan to a tenant.

Creates a new subscription in Lago for the specified tenant. The subscription starts on the provided start_date and ends after the configured subscription period.

Access: mtk_admin only

Request body:

{
    "plan_code": "claim_mind_pro",
    "start_date": "2026-01-21"
}
post/admin/tenants/{tenant_id}/subscription

Request

  • Base URL
    https://developer.claimmind.life (the document declares no server; this is the origin it was published from)
  • Auth
    OAuth 2
    Password
    Token URL: token

Path parameters

tenant_idstring required

Request body

plan_codestring required
start_datestring required
end_datestring nullable

Example request

{
  "end_date": "2027-01-31",
  "plan_code": "claim_mind_basic",
  "start_date": "2026-02-01"
}

Response

Successful Response

messagestring

Example response

{
  "subscription": {
    "created_at": "2026-01-22T10:00:00Z",
    "ending_at": "2027-01-31T23:59:59Z",
    "external_id": "tenant-001",
    "lago_id": "sub-lago-uuid-456",
    "plan_code": "claim_mind_basic",
    "plan_name": "ClaimMind Basic",
    "started_at": "2026-02-01T00:00:00Z",
    "status": "active"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.