fbId), which can be a Facebook user ID or any custom string that uniquely represents a user session. The bot uses this identifier to maintain conversational context across multiple turns.
Request
string
required
The user’s message or question to send to the bot.
string
required
Your bot’s API key. Alternatively, pass the same value as the
X-Api-Key request header instead of including it in the body.string
required
A unique identifier for the end-user or session. Can be a Facebook user ID or any custom string (e.g. a UUID) that you generate to represent a session. The bot uses this to maintain context across messages.
Example
X-Api-Key header instead:
Response
A successful200 OK response returns the bot’s reply along with metadata about the matched intent or flow.
