🌐
Recrubo API
  • Getting Started
    • Introduction
    • Sandbox
    • Async requests
    • Authentication
    • Webhooks
    • Filtering, sorting, pagination and including resources
  • Guides
    • Setting up webhooks
    • Generating flows
    • Editing flows
    • Triggering flows
    • Embedding the Inbox
    • Sending messages
  • Resources
    • API Resource Reference
      • Candidate
      • Conversation
      • Flow
      • FlowRun
      • FlowGeneration
      • Message
      • MessageTemplate
      • MessageThread
      • NodeAction
      • NodeTransition
      • Node
      • VacancyAnalysis
      • Vacancy
      • User
      • WebhookPayload
    • Embeddables
      • Inbox
      • BotStudio
      • GenerateFlow
      • Whatsapp connect button
      • Schedule Form
      • Schedule Table
    • Flow types
      • vacancy_application_flow
  • Management
    • Organizations
Powered by GitBook
On this page
  • Endpoints
  • Attributes
  • HTTP Methods
  • Patching a Conversation
  • Example PATCH body
  • OpenAPI
  1. Resources
  2. API Resource Reference

Conversation

Conversation is used to show the messages on a MessageThread in the Inbox It houses info like the if the conversation is open or closed or how many unread messages are present. Conversation are automatically created when assigning a MessageThread to a Candidate

Endpoints

  • GET /conversations - Retrieve a list of all Conversations.

  • GET /conversations/{id} - Retrieve a specific Conversation by ID.

  • PATCH /conversations/{id} - Update a specific Conversation by ID.

Attributes

Field
Type
Description

status

String

The status of the conversation. Can be open or closed

unreadMessages

Boolean

Indicates if there are unread messages in the conversation

unreadMessagesCount

Integer

The number of unread messages in the conversation.

messageThreadId

String

candidateId

String

createdAt

DateTime

The date and time the conversation was created.

updatedAt

DateTime

The date and time the conversation was last updated.

HTTP Methods

Field
GET
PATCH

status

X

X

unreadMessages

X

X

unreadMessagesCount

X

X

messageThreadId

X

candidateId

X

createdAt

X

updatedAt

X

Patching a Conversation

unreadMessagesCount, status and unreadMessages will all automatically be updated by us (either due to inbox usage or messaging). We do allow you to update these fields but we will overwrite them with the correct values.

Example PATCH body

{
    "data": {
        "type": "conversations",
        "id": "uuid",
        "attributes": {
            "status": "closed"
        }
    }
}

OpenAPI

PreviousCandidateNextFlow

Last updated 1 year ago

The id that is associated with this conversation.

The id that is associated with this conversation.

MessageThread
Candidate