Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Query Parameters
The language code for the interaction. Supported values include: - en-US: English (United States) - es-ES: Spanish (Spain)
en-US
, es-ES
"en-US"
(Optional) The unique identifier for the player's session.
"60Z5aZjIuFlyYbjbZZKe"
Body
A JSON, XML, or URL-encoded payload containing the complete conversation history. Ensure messages are sent as an array of objects following the defined schema.
The Interaction schema defines the structure for a conversation between a player and an NPC. It includes metadata such as character ID, game ID, world ID, and an array of messages.
The unique identifier of the NPC character.
"a96c6161-59f5-40f7-955e-459cd11"
The unique identifier of the game.
"tx65BrETVN2vMrrUIrlV"
The unique identifier of the world.
"PtUYW5bLMZNnXPN8qAUJ"
An array of messages exchanged between the player and the NPC.
An object containing player-specific information for character context.
Response
Successful operation. Returns the character's response along with any triggered user events.
The ApiResponse schema represents the successful response from the API, including the NPC's response and any user-triggered events.
The NPC's generated response.
"Hello Juan, my name is Jakinen"
A list of events triggered by the user's input.
A list of events triggered by the user's input.