Counting your scripts

Your scripts collection size can be read with a HTTP GET on the count scripts endpoint https://api.rebrandly.com/v1/scripts/count.

GETting scripts collection size

$ curl 'https://api.rebrandly.com/v1/scripts/count' \
-H 'apikey: YOUR_API_KEY'
A numeric value is provided back:
{
    "count": 42
}