Skip to content

Subscriptions

Account Scope Required, please include X-Auth-Account header with your Account ID.

List Subscriptions

This currently returns all active or suspended subscriptions.

GET /api/subscriptions

Returned Params
  • subscriptions: Array
    • id: String
    • status: String
    • created_at: DateTime
    • updated_at: DateTime
    • price: Object
      • amount_cents: Integer
      • term: String
    • run_rate: Integer | In Cents
    • sites: Array
      • id: String
      • name: String
      • created_at: DateTime
      • updated_at: DateTime
      • primary_domain: String
      • location: String
    • product: Object
      • id: String
      • name: String

View Subscription

GET /api/subscriptions/:id

Returned Params
  • subscription: Object
    • id: String
    • status: String
    • created_at: DateTime
    • updated_at: DateTime
    • price: Object
      • amount_cents: Integer
      • term: String
    • run_rate: Integer | In Cents
    • sites: Array
      • id: String
      • name: String
      • created_at: DateTime
      • updated_at: DateTime
      • primary_domain: String
      • location: String
    • product: Object
      • id: String
      • name: String