API

Build on top of your page

A small REST API over the things a page is made of: links, products, subscribers and analytics.

Authenticate once

Create a token in your dashboard and send it as a bearer token. Tokens are scoped per page and can be revoked at any time.

GET https://api.canvaspulse.example/v1/pages/mayalin
Authorization: Bearer cnp_live_…
Accept: application/json
Endpoints

Six endpoints cover the page

Everything a page is made of is readable and writable. Rate limits are per token, not per page.

GET /v1/pages/{handle}Read a public page: its theme, its blocks and its link order.
POST /v1/linksAdd a link block to a page. Accepts a title, a URL, a schedule and a group.
PATCH /v1/links/{id}Update a link block, including its position and its schedule.
GET /v1/analytics/clicksClick totals per link for a date range, with traffic source and country.
POST /v1/subscribersAdd an email subscriber captured outside the page.
GET /v1/productsList the products on a store tab, with prices and stock.