Skip to content

notes

Fetch paginated note collection for given conversation

Arguments

org_chat · Boolean · If TRUE: get base user as a conversation owner
with_tasks · Boolean · If TRUE: get notes with tasks
after · Cursor · Cursor to fetch results after

Returns

[Note!]

Example

query notes(
$conversation_id: ID
$ids: [ID]
$keywords: String
$org_chat: Boolean
$provider_id: ID
$scheduled_notes: Boolean
$since_note_id: ID
$sort_by: String
$order_by: NoteOrderKeys
$with_tasks: Boolean
$offset: Int
$page_size: Int
$after: Cursor
) {
notes(
conversation_id: $conversation_id
ids: $ids
keywords: $keywords
org_chat: $org_chat
provider_id: $provider_id
scheduled_notes: $scheduled_notes
since_note_id: $since_note_id
sort_by: $sort_by
order_by: $order_by
with_tasks: $with_tasks
offset: $offset
page_size: $page_size
after: $after
) {
attached_audio_url
attached_image_url
content
conversation_id
created_at
creator
creator_display_name
cursor
deleted_by_user
document_id
document_name
id
image_name
is_autoresponse
on_behalf_user
scheduled_at
task
updated_at
user_id
viewed
}
}