Documentation

This documentation and answers will help you get started and master the way you use PageCDN for better content delivery.

Get account info

GEThttps://pagecdn.com/api/v2/private/account/infoCopy

This endpoint fetches your account, subscription and resource usage information.

Query String Parameters

apikeystringrequiredThe api key to identify originator of the request.

Successful Response

 {
    "status": "200",
    "message": "Ok",
    "details": "Success",
    "response": {
        "username": "myusername",
        "email": "myusername@gmail.com",
        "account_verified": true,
        "last_pass_change": 1555587741,
        "joined_on": "",
        "profile_privacy": "private",
        "pricing_plan": {
            "name": "developer",
            "price_cents": 2000,
            "storage": 1073741824,
            "bandwidth": 536870912000,
            "repos": 20
        },
        "usage": {
            "storage": 546468118,
            "bandwidth": 166690495,
            "repos": 15,
            "files": 327834
        }
    }
} 

Sample Requests

Get account info

https://pagecdn.com/api/v2/private/account/info?apikey=160a426ff2894252cd7cebbdd6d6b7da8fcd319c65b70468f10b6690c45d02ef