Create Chat Thread
documentedCreate a chat thread in a conversation.
POST /v2/conversations/{conversationId}/chatsConversationsno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://api.helpscout.net/v2/conversations/{{$conversation_id}}/chats" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{ "customer": { "id": {{$customer_id}}, "email": "{{$customer_email}}", "firstName": "{{$customer_firstName}}", "lastName": "{{$customer_lastName}}", "phone": "{{$customer_phone}}", "organization": "{{$customer_organization}}", "organizationId": {{$customer_organizationId}} }, "text": "{{$text}}", "imported": {{$imported}}, "createdAt": "{{$createdAt}}", "attachments": [ { "fileName": "{{$attachment_filename}}", "mimeType": "{{$attachment_mime}}", "data": "{{$attachment_data}}" } ] }'