GET
/
settings
curl --request GET \
  --url https://api.togai.com/settings \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "TogaiSetting",
      "value": "INR",
      "entityType": "ORGANIZATION",
      "entityId": "XlK5h64gND",
      "namespace": "togai",
      "name": "Settings Name",
      "dataType": "STRING"
    }
  ],
  "nextToken": "eyJsYXN0SXRlbUlkIjogInN0cmluZyIsICJwYWdlU2l6ZSI6IDEwMCwgInNvcnRPcmRlciI6ICJhc2MifQ==",
  "context": {
    "pageSize": 10
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

nextToken
string
Example:

"eyJsYXN0SXRlbUlkIjogInN0cmluZyIsICJwYWdlU2l6ZSI6IDEwMCwgInNvcnRPcmRlciI6ICJhc2MifQ=="

pageSize
number
Example:

10

entity_type
string
Example:

"ACCOUNT"

entity_id
string
Example:

"acc_X1Df3sRf3"

setting_id
string
namespace
string
Example:

"USER"

Response

200
application/json
Response for list setting request
data
object[]

Represents a setting

nextToken
string
context
object