| Argument | Type | Description |
|---|---|---|
clientIdrequired | ID! | ID of the client (pet owner) |
input | ConversationInput | Input data for conversation operation |
patientId | ID | ID of the patient |
subject | String | Subject |
mutation( $clientId: ID!, $input: ConversationInput, $patientId: ID, $subject: String) { createConversation( clientId: $clientId, input: $input, patientId: $patientId, subject: $subject ) { id # Add other fields you need }}{ "clientId": "1", "input": {}, "patientId": "1", "subject": "example"}mutation($id: ID!) { deleteMessage(id: $id) { id # Add other fields you need }}{ "id": "1"}mutation( $attachments: [Upload], $body: String!, $close: Boolean, $conversationId: ID!, $messageId: ID) { sendMessage( attachments: $attachments, body: $body, close: $close, conversationId: $conversationId, messageId: $messageId ) { id # Add other fields you need }}{ "attachments": {}, "body": "example", "close": true, "conversationId": "1", "messageId": "1"}| Argument | Type | Description |
|---|---|---|
attachments | [ConversationSetAttachment] | List of file attachments |
bodyrequired | String! | Main content or message body |
clientIdrequired | ID! | ID of the client (pet owner) |
inputrequired | ConversationInput! | Input |
mutation( $attachments: [ConversationSetAttachment], $body: String!, $clientId: ID!, $input: ConversationInput!) { startConversation( attachments: $attachments, body: $body, clientId: $clientId, input: $input ) { id # Add other fields you need }}{ "attachments": {}, "body": "example", "clientId": "1", "input": {}}| Argument | Type | Description |
|---|---|---|
idrequired | ID! | Unique identifier |
inputrequired | ConversationInput! | Input |
mutation( $id: ID!, $input: ConversationInput!) { updateConversation( id: $id, input: $input ) { id # Add other fields you need }}{ "id": "1", "input": {}}