Settings
Lists settings
List settings
GET
/
settings
curl --request GET \
--url https://api.togai.com/settings \
--header 'Authorization: <authorization>'
{
"data": [
{
"id": "TogaiSetting",
"value": "INR",
"entityType": "ORGANIZATION",
"entityId": "XlK5h64gND",
"namespace": "togai",
"name": "Settings Name"
}
],
"nextToken": "eyJsYXN0SXRlbUlkIjogInN0cmluZyIsICJwYWdlU2l6ZSI6IDEwMCwgInNvcnRPcmRlciI6ICJhc2MifQ==",
"context": {
"pageSize": 10
}
}
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Query Parameters
nextToken
string
pageSize
number
entity_type
string
entity_id
string
setting_id
string
namespace
string
Response
200 - application/json
data
object[]
nextToken
string
context
object
curl --request GET \
--url https://api.togai.com/settings \
--header 'Authorization: <authorization>'
{
"data": [
{
"id": "TogaiSetting",
"value": "INR",
"entityType": "ORGANIZATION",
"entityId": "XlK5h64gND",
"namespace": "togai",
"name": "Settings Name"
}
],
"nextToken": "eyJsYXN0SXRlbUlkIjogInN0cmluZyIsICJwYWdlU2l6ZSI6IDEwMCwgInNvcnRPcmRlciI6ICJhc2MifQ==",
"context": {
"pageSize": 10
}
}