Conversations

Manually send a message in a conversation

Queues a coach-approved message for delivery on the lead's channel. Every send uses the durable outbound-content outbox and an Idempotency-Key.

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

post/api/conversations/{id}/send

Request

  • Base URL: https://api.setluca.com
  • URL: https://api.setluca.com/api/conversations/{id}/send
  • 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 conversation this operation targets.

Headers

idempotency-keystring required

Key that makes this mutation safe to retry. Replaying a key returns the original response with Idempotency-Replayed: true instead of acting twice.

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.

Request body

bodystring
replacesReplyFailureIdstring uuid

Response

ok

oktrue required
status'sent' | 'queued'
providerMessageIdstring
outboundContentIdstring uuid
dedupedboolean

Changes

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