Skip to content

Email the conversation with Rosie

POST
/public/assistant/sessions/{id}/transcript
curl --request POST \
--url https://example.com/public/assistant/sessions/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/transcript \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "email": "hello@example.com", "turnstileToken": "example" }'

Sends the whole conversation, with the guide links Rosie used, to the address given. Needs a fresh Turnstile token for the action assistant. Three a session.

id
required
string format: uuid
Media typeapplication/json
object
email
required
string format: email
<= 254 characters
turnstileToken
required
string
>= 1 characters <= 2048 characters

Example generated

{
"email": "hello@example.com",
"turnstileToken": "example"
}

Sent

Media typeapplication/json
object
sent
required
boolean

Example

{
"sent": true
}

Missing, wrong or expired session token

Media typeapplication/json
object
error
required
string
message
required
string

Example

{
"error": "not_found",
"message": "Customer not found"
}

Security check failed

Media typeapplication/json
object
error
required
string
message
required
string

Example

{
"error": "not_found",
"message": "Customer not found"
}

Rosie is not set up here

Media typeapplication/json
object
error
required
string
message
required
string

Example

{
"error": "not_found",
"message": "Customer not found"
}

Validation failed

Media typeapplication/json
object
error
required
string
Allowed values: validation
message
required
string
issues
required
Array<object>
object
path
required
string
message
required
string

Example

{
"error": "validation",
"issues": [
{
"path": "email",
"message": "Invalid email"
}
]
}

Transcript limit reached

Media typeapplication/json
object
error
required
string
message
required
string

Example

{
"error": "not_found",
"message": "Customer not found"
}

Security check unavailable

Media typeapplication/json
object
error
required
string
message
required
string

Example

{
"error": "not_found",
"message": "Customer not found"
}