Skip to main content
POST
/
settings
Create setting
curl --request POST \
  --url https://api.getenso.ai/settings \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "key": "invoice_prefix",
  "value": "INV-"
}
'
{
  "status": "success",
  "message": "Success",
  "data": {}
}
Not accessible by SystemUser role. Requires Admin.

Authorizations

Authorization
string
header
required

JWT bearer token obtained from POST /auth/system-login using your client credentials.

Body

application/json
key
string
required
Example:

"invoice_prefix"

value
string
required
Example:

"INV-"

Response

Success

status
string
Example:

"success"

message
string
Example:

"Success"

data
object

Endpoint-specific payload (object, array, or null)