$ curl -X POST https://app.graphkit.com/api/v1/campaigns/$CAMPAIGN_ID/leads \ -H "Authorization: Bearer gk_live_••••••••" \ -H "Idempotency-Key: import-0412" \ -d '{"leads":[{"profileUrl":"https://www.linkedin.com/in/hannah-scott"}]}'HTTP/1.1 201 Created{ "added": 1, "skipped": 0 } $ curl "https://app.graphkit.com/api/v1/leads?limit=2" -H "Authorization: Bearer gk_live_••••••••"HTTP/1.1 200 OK{ "data": [ { "id": "0193…a1", "name": "Hannah Scott" }, … ], "nextCursor": "…" }
REST API
JSON over HTTPS, cursor pagination, consistent errors and idempotency keys on every write.
