API v1 Reference

List Subscriptions

Retrieves subscriptions associated with a particular app.

Request

POST https://app.neon-one.com/api/subscription/list

Response

Returns an array of App objects.


[  
   {  
      "id":65,
      "started_at":1498003200,
      "ended_at":null,
      "status":"Active",
      "instance":{  
         "org_id":"blizzard02"
      }
   },
   {  
      "id":66,
      "started_at":1498003200,
      "ended_at":1498003200,
      "status":"Cancelled",
      "instance":{  
         "org_id":"test"
      }
   }
]

Request Parameters

Parameter Required Description
app_id Required The ID of the app for which you will retrieve subscriptions.

Response Parameters

Parameter Description
id ID of the subscription.
started_at Unix timestamp. The date the subscription was created.
status Status of the subscription. Possible values: Active, Cancelled, Suspended.
ended_at Unix timestamp. The date the subscription was cancelled. Is null for active, suspended subscriptions.
instance.org_id The NeonCRM Organization ID of the subscriber.