Specific API Endpoints
Create or Update Thread
Create a new thread or update an existing thread in Melodi.
PUT
Authorizations
Your Melodi API key
Body
application/json
The full thread object
Response
200
application/json
Thread successfully created or updated
Unique identifier for the thread
ID of the organization to which the thread belongs
Message object that can be either a Markdown or JSON message. For Markdown messages, use the 'content' field. For JSON messages, use the 'jsonContent' field.
Metadata associated with the thread
Date when the thread was created
Date when the thread was last updated
External thread ID
Represents an external user. Note: The combination of organizationId and externalId must be unique.
Was this page helpful?