Set a customer variable
POSThttps://api.evora.lol/api/developer-api/apps/{appId}/users/{userId}/variables
Requires scopevariables:write
Useful for linking external identities — storing a discord_id here is how most bots map a Discord user to an Evora customer.
Path parameters
| appIdrequired string (uuid) | Application UUID. App-scoped keys may only use their own application. |
| userIdrequired string (uuid) | End-user UUID. |
Body
| var_keyrequired string | |
| var_value string | |
| read_only boolean | Block the SDK from overwriting it. |
Request
{ "var_key": "discord_id", "var_value": "123456789012345678" }
Responses
200Saved.
json
{ "variable": { "id": "1a8f3c07-62b4-4d95-8e71-3f0c5a9d2e48", "var_key": "theme", "var_value": "dark" } }
More in Variables
Base URL https://api.evora.lol/api/developer-api · full spec at developer-api.yaml · back to the docs