Leads

Resume everything Luca drafts or sends for one lead

Clears the pause and restarts the latest paused turn in each of the lead's conversations so Luca writes one draft over every unanswered message there. A turn still drafting when the pause cleared finishes paused and restarts too. A conversation is skipped when the coach already replied, Meta's 24 hour messaging window closed, or a newer turn took over. restartedTurnIds lists every turn that restarted, most recently paused first, and restartedTurnId is the first of them; skippedReason says why nothing restarted. Resuming a lead that is not paused succeeds.

API key scopes: leads:write. You also need an Idempotency-Key header.

post/api/leads/{id}/drafting/resume

Request

  • Base URL: https://api.setluca.com
  • URL: https://api.setluca.com/api/leads/{id}/drafting/resume
  • Auth: one of:
    • API key in cookie luca.session_token
    • API key in header x-api-key
    • HTTP bearer

Path parameters

idstring uuid required

Identifier of the lead this operation targets.

Headers

Luca-API-Version'1'

The major version of the API this client was built against. Omit it and the request is served by the current major version. Any other value is refused with 400 unsupported_api_version.

Response

ok

restartedTurnIdstring uuid nullable required
restartedTurnIdsstring[] required
skippedReason'already_replied' | 'window_closed' | 'turn_not_latest' | 'nothing_paused'

Changes

No recorded changes to this operation across all 1 revision of this API.