Get

Retrieve a list of your subscriptions

Parameters:

Demo

URL Find your token on - yumpu.com Token

Optional parameters:

q offset limit sort return_fields

Add optional parametersRun request

Example:

curl -X GET -H "X-ACCESS-TOKEN: YOUR_ACCESS_TOKEN" "https://api.yumpu.com/2.0/account/subscriptions.json?limit=2&offset=0"

Whatever language you are using, the result will be the same.

{
  "total": "5",
  "subscriptions": [
    {
      "id": "QOjiaWfWYWd7TBHE",
      "create_date": "2015-01-27 13:21:37",
      "update_date": "0000-00-00 00:00:00",
      "itc_product_id": "subscription1",
      "name": "subscription1",
      "description": "subscription1",
      "duration": "365",
      "kiosks": [
        {
          "id": "72",
          "type": "appkiosk"
        }
      ]
    },
    {
      "id": "Xzb3GYb5dzimC3Ww",
      "create_date": "2015-01-27 09:58:17",
      "update_date": "0000-00-00 00:00:00",
      "itc_product_id": "subscription2",
      "name": "subscription2",
      "description": "subscription2",
      "duration": "93",
      "kiosks": [
        {
          "id": "72",
          "type": "appkiosk"
        }
      ]
    },
    {
      ...
    }
  ],
  "state": "success",
  "completed_in": "0.0316"
}

Last updated