Skip to content

Add a new configuration

POST
/configurations
curl --request POST \
--url http://localhost:8000/api/v1/configurations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "key": "default-wallet", "value": "{\"theme\": \"dark\", \"color\": \"#333333\"}", "type": "string", "client_id": "245cb3df-df3a-428b-a908-e5f74b8d58a3:245cb3df-df3a-428b-a908-e5f74b8d58a4" }'
Media type application/json
object
key
required
string
Allowed values: default-wallet default-currency default-group default-lang country onboarding-complete theme timezone manual-exchange-rates notifications-email notifications-push notifications-inapp notifications-reminders notifications-insights notifications-inactivity insights-frequency inactivity-reminders-enabled inactivity-reminder-count last-inactivity-reminder-sent wallets-allow-negative-balance transaction-intents-enabled asset-tracking-enabled landing-experience
Example
theme
value
required
object
Example
{"theme": "dark", "color": "#333333"}
type
required
string
Allowed values: string int float bool array json date
Example
string
client_id

Unique identifier for your local client

string format: string
Example
245cb3df-df3a-428b-a908-e5f74b8d58a3:245cb3df-df3a-428b-a908-e5f74b8d58a4

Configuration added successfully

Validation error