All endpoints

Pause / resume / unenroll a lead

PATCHhttps://myagentmail.com/enrollments/{id}

Path parameters

id
required
string

Request body

Content-Type: application/json

state
"active" | "paused" | "unenrolled"

enum: "active" | "paused" | "unenrolled"

exitReason
string

Responses

200Updated.

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.