API & Webhooks

Integrate programmatically.

Use the REST API to create sequences, import leads, generate drafts, and subscribe to engagement webhooks.

Base URL

https://api.cognlay.com/v1

All requests must include an Authorization: Bearer <api_key> header.

Endpoints

POST/sequences
GET/sequences/:id
POST/leads/import
POST/drafts/generate
GET/drafts/:id
POST/webhooks
DELETE/webhooks/:id

Authentication

Generate an API key from Settings → API Keys. Keys are scoped per workspace and can be revoked at any time. Never expose your key in client-side code.