Get all configurations for the current user
GET
/configurations
const url = 'http://localhost:8000/api/v1/configurations';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://localhost:8000/api/v1/configurations \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ” synced_since
string format: date-time
Get recent changes after this date
no_client_id
boolean
Get results with no client id
Responses
Section titled “ Responses ”List of all user configurations
Media type application/json
object
success
boolean
message
string
data
Array<object>
object
id
integer
user_id
integer
key
string
value
object
created_at
string format: date-time
updated_at
string format: date-time
Example
{ "success": true, "message": "Configurations retrieved successfully", "data": [ { "id": 1, "user_id": 1, "key": "theme_preference", "value": "{\"theme\": \"dark\", \"color\": \"#333333\"}" } ]}