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/v1All requests must include an Authorization: Bearer <api_key> header.
Endpoints
POST
/sequencesGET
/sequences/:idPOST
/leads/importPOST
/drafts/generateGET
/drafts/:idPOST
/webhooksDELETE
/webhooks/:idAuthentication
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.