Skip to main content
POST
Update variable

Authorizations

Authorization
string
header
required

All of WotNot's APIs use Bearer token authentication. Send your account token as Bearer <token>. You can find it in Settings > Account Settings > Developer. Keep it on your server: anyone who has it can call the API as your account.

Path Parameters

account_id
string
required

The ID of your WotNot account.

conversation_id
string
required

The ID of the conversation to update. It's the conversation.id you get back from Create conversation.

Body

application/json

The variables to update.

variables
object[]
required

The variables to update. Send at least one.

Minimum array length: 1

Response

The variables were updated. Returns ok set to true.

ok
boolean
required

true when the request worked. Errors return false.

Example:

true

Last modified on October 22, 2026