Send session transcription
Envia a conversa por e-mail para o endereço informado. O corpo do e-mail
traz a conversa renderizada; o arquivo .txt só é gerado e anexado quando
attachTranscription é true (padrão) — com false, nada é gravado no
storage.
O transcriptionURL da resposta (quando há anexo) é uma URL privada e
assinada, válida por 30 dias; o arquivo permanece, só o link expira.
Depois de 30 dias, chame o endpoint de transcrição de novo para obter um
link novo.
Com includeContactHistory em true, a transcrição deixa de ser só desta
sessão e passa a cobrir todas as conversas que o contato já teve com o
tenant, unificadas em ordem cronológica.
A conversa é carregada antes do envio: se isso falhar, nenhum e-mail sai.
Authorizations
Behalf of an Operator (default). A JWT issued by Talqui Core when an operator signs in, scoped to every tenant that operator belongs to. Send as Authorization: Bearer <jwt-token>.
Path Parameters
The tenant the session belongs to.
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$The session to transcribe and send.
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Body
Recipient address for the transcription e-mail.
^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$Whether to also generate the .txt transcript and attach it. Defaults to true.
Whether to widen the transcript to every session this contact ever had with the tenant, merged chronologically. Defaults to false (this session only).
Response
Response for status 200.
Whether the .txt transcript was attached.
Address the conversation was sent to.
^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$Whether the transcript covered the contact full history instead of a single session.
Provider-side id of the accepted message.
When the e-mail was handed to the provider.
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$The transcribed session.
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Private signed URL of the attached transcript, valid 30 days; null when no attachment was requested.