{#CustomDatas#} - SET
POST
https://wapi.wizebot.tv/api/custom-data/{API_KEY}/set/{DATA_KEY}/{DATA_VAL}{#Recording a data.#}
Request
Path Params
API_KEY
string
required
{#API key (W) of your WizeBot account.#}
Example:
{{API_KEY_W}}
DATA_KEY
string
required
{#Key of your data, only the letters, numbers & "-" "_" signs are accepted (Ex: ABCD, AZERTY1234, HELLO-1234, HELLO_1234).#}
Example:
abcd1234
DATA_VAL
string
required
{#Value of your data in TXT format.#}
{#You can insert the value from the URL (for simple data) or via the POST argument "DATA_VAL" (for complex data).#}
{#A null (empty) value will delete the data on our service.#}
Example:
1234abcd
Query Params
DATA_VAL
string
optional
{#Value of your data in TXT format.#}
{#You can insert the value from the URL (for simple data) or via the POST argument "DATA_VAL" (for complex data).#}
{#A null (empty) value will delete the data on our service.#}
Example:
VALUE
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
success
boolean
required
{#true or false, if the operation was successful.#}
key
string
required
{#Target value key.#}
result
string
deprecated
code
integer
required
{#The code associated with the request.#}
Example
{
"success": true,
"key": "abcd1234",
"result": "ok",
"code": 200
}
Last modified: 5 months ago