7 days free, live today on a shared address. Plans from £3.99 a month, own domains from £14 a year. →
HomeHow it worksFeaturesPricingCompareGuides Sign in

API reference

GET /api/v1/pages

Your pages and every link on them, destinations included.

#Request

No parameters. Returns every page the key's account can open, including pages it was invited onto.

curl https://peekin.bio/api/v1/pages -H "Authorization: Bearer pk_live_YOUR_KEY"

#Response

{
  "pages": [{
    "id": 12,
    "slug": "yourname",
    "name": "Your Name",
    "status": "live",
    "url": "https://yourname.link/",
    "links": [
      { "id": 40, "label": "Members area", "kind": "primary", "destination": "https://yourpaidpage.com/yourname", "live": true },
      { "id": 41, "label": "Instagram",    "kind": "social",  "destination": "https://instagram.com/yourname", "live": true }
    ]
  }]
}
This is the one call that returns a paid address, because it is yours and you asked for it with your own key. Treat the response as you would the address itself.