From 991d84be7f77b8f052e40e4ac9302f97b2a82a67 Mon Sep 17 00:00:00 2001 From: preslavmihaylov Date: Mon, 6 May 2024 17:27:38 +0300 Subject: [PATCH] update replyToThread docs --- api-reference/graphql/messaging/reply-to-thread.mdx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/api-reference/graphql/messaging/reply-to-thread.mdx b/api-reference/graphql/messaging/reply-to-thread.mdx index 1871bf8..4f24326 100644 --- a/api-reference/graphql/messaging/reply-to-thread.mdx +++ b/api-reference/graphql/messaging/reply-to-thread.mdx @@ -2,10 +2,7 @@ title: 'Reply to threads' --- -You can reply to a thread using the `replyToThread` mutation. The call to this mutation will be successful if: - -- the last message in the thread is an email from the customer OR -- the thread was just created with [`createThread`](/api-reference/graphql/threads/create) +You can reply to a thread using the `replyToThread` mutation. If it is not possible to reply to this thread, you will get the mutation error code [`cannot_reply_to_thread`](/api-reference/graphql/error-codes#cannot_reply_to_thread) and a message indicating why.