curl --request POST \
--url https://api.orq.ai/v2/conversations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"displayName": "Support Chat #1234"
}
'{
"kind": "conversation",
"displayName": "<string>",
"createdAt": 123,
"updatedAt": 123,
"_id": "conv_01kbmyap3vct3fk3078f4d7xd9",
"createdById": "<string>",
"updatedById": "<string>"
}Creates a new conversation in the workspace. Conversations serve as containers for organizing related messages and interactions. Each conversation is assigned a unique identifier and timestamps for tracking.
curl --request POST \
--url https://api.orq.ai/v2/conversations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"displayName": "Support Chat #1234"
}
'{
"kind": "conversation",
"displayName": "<string>",
"createdAt": 123,
"updatedAt": 123,
"_id": "conv_01kbmyap3vct3fk3078f4d7xd9",
"createdById": "<string>",
"updatedById": "<string>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Display name for the conversation. Can be auto-generated or set by the user.
1 - 100"Support Chat #1234"
Conversation successfully created. Returns the complete conversation object including the generated ID and timestamps.
Type discriminator indicating this is a conversation Type discriminator indicating this is a conversation
conversation Display name for the conversation. Can be auto-generated or set by the user. Display name for the conversation. Can be auto-generated or set by the user.
1 - 100Unix timestamp (in milliseconds) when the conversation was created Unix timestamp (in milliseconds) when the conversation was created
Unix timestamp (in milliseconds) when the conversation was last updated Unix timestamp (in milliseconds) when the conversation was last updated
Unique ULID (Universally Unique Lexicographically Sortable Identifier) for the conversation, prefixed with "conv_" Unique ULID (Universally Unique Lexicographically Sortable Identifier) for the conversation, prefixed with "conv_"
Optional identifier of the user or agent that created the conversation Optional identifier of the user or agent that created the conversation
Optional identifier of the user or agent that last updated the conversation Optional identifier of the user or agent that last updated the conversation
Was this page helpful?