Using the REST API
Using the REST API
Base URL: /api/v1
Authentication
Create a token in Integrations → API Tokens, then pass it as Authorization: Bearer YOUR_TOKEN.
Endpoints
GET /ping— health checkGET /me— current userGET /leads— list leadsPOST /leads— create a leadGET /leads/{id}— get a single leadGET /customers— list customersGET /products— list products