Billing

Get a user's subscription history

Admin-only endpoint that returns a user's current subscription plus the full history of past subscription transitions (upgrade, downgrade, cancellation/expiry, payment-failure downgrade, admin change), newest first.

get/admin/billing/users/{id}/subscription-history

Request

  • Base URL: https://api.crawlora.net/api/v1
  • URL: https://api.crawlora.net/api/v1/admin/billing/users/{id}/subscription-history
  • Auth: API key in header x-api-key

Path parameters

idstring required

User id

Headers

x-api-keystring required

Admin API key required unless an Admin JWT is already present

Response

Subscription history

codeinteger
msgstring

Example response

{
  "code": 200,
  "msg": "OK"
}

Changes

No recorded changes to this operation across all 2 revisions of this API.