Skip to content

Follow-ups

Schedule a follow-up message to a lead.

Schedule a follow-up

POST/v1/leads/{lead_id}/follow-ups/
messages:sendIdempotency-Key required

Parameters

NameInTypeNotes
lead_idrequiredpathinteger—
Idempotency-Keyrequiredheaderstring (uuid)UUID4 identifying one intended write. Reuse it only when retrying that same write.

Request body

FieldTypeNotes
cancel_on_replyboolean—
file_idstring (uuid)—
send_atrequiredstring (date-time)—
textstringmax length 1000
Response fields (201)
FieldTypeNotes
file_idstringread-only
idstringread-only
is_human_initiatedbooleanread-only
lead_idstringread-only
media_typestringread-only
send_atstring (date-time)read-only
send_originstringread-only
skip_if_repliedbooleanread-only
statusstringread-only

Responses

  • 201Success
  • 400The request is invalid.
  • 401Authentication is missing, invalid, or revoked.
  • 403The authenticated identity lacks the required scope or capability.
  • 404The resource is unavailable or not visible to this organization.
  • 409The write conflicts with current state or an identical request is still running.
  • 422The write contains fields outside its closed input schema.
  • 429The request-rate budget is exhausted.

Example request

curl
curl -X POST "https://api.themochi.app/v1/leads/<lead_id>/follow-ups/" \
  -H "Authorization: Bearer $MOCHI_API_KEY" \
  -H "Idempotency-Key: $(uuidgen | tr A-Z a-z)" \
  -H "Content-Type: application/json" \
  -d '{"send_at":"2026-01-01T00:00:00Z"}'