Create a Dialogue
POST https://app.sociable.how/api/dialogues
Before generating messages, you must first create a dialogue for the messages to exist within.
Specifically you will need the “id” property within the returned “dialogue” object. We recommend that you safely store this value so that you can easily use our message generation endpoint.
Request Parameters
Parameter | Description | Example |
---|---|---|
name | Name of the person your AI is conversing with | John Doe |
dialogueType (optional) | Largely for social media-like platforms. Must be either MESSAGE or COMMENT , indicates whether the dialogue occurs in direct messages or a comments section. | MESSAGE |