Enroll a lead in this cadence
https://myagentmail.com/cadences/{id}/enrollmentsIdempotent on (cadenceId, leadExternalId) — re-enrolling the
same lead returns the existing enrollment with created: false.
Lead identity fields: pass whatever you have. The runner uses
leadLinkedinUrl for LinkedIn invites and leadEmail for
email steps. leadProfileUrn is set automatically when the
first LinkedIn invite is sent (the runner persists it for
future after_accept attribution and reply-detection).
Path parameters
idrequired string |
Request body
Content-Type: application/json
leadExternalIdrequired string | Your stable id for the lead. Idempotency key. |
leadNamestring | |
leadEmailstring | format: email |
leadLinkedinUrlstring | format: uri |
leadProfileUrnstring | |
sessionIdstring | Required if cadence has any LinkedIn step. |
inboxIdstring | Required if cadence has any email step. format: uuid |
contextobject | |
startAtstring | format: date-time |
Responses
Authentication
Send your API key in the X-API-Key header (or Authorization: Bearer <key>). Any prefix accepted by this endpoint — tk_, wk_, ak_, or sa_ — is documented in the key prefix table.