Skip to main content
POST
Create Conversation

Authorizations

Authorization
string
header
required

Send Authorization: Bearer <omi_developer_api_key>.

Body

application/json
text
string
required

The conversation text/transcript

Required string length: 1 - 100000
finished_at
string<date-time> | null

When the conversation finished (defaults to started_at + 5 minutes)

geolocation
Geolocation · object | null

Geolocation where conversation occurred

language
string | null
default:en

Language code (ISO 639-1, e.g., 'en', 'es', 'fr')

started_at
string<date-time> | null

When the conversation started (defaults to now)

text_source
enum<string>
default:other_text

Source type: audio_transcript, message, or other_text

Available options:
audio_transcript,
message,
other_text
text_source_spec
string | null

Additional source specification (e.g., 'email', 'slack', 'whatsapp')

Response

Successful Response

discarded
boolean
required
id
string
required
status
string
required