GET
https://api.spirestock.com/api/v1/workspace/configRetrieve the current workspace configuration including branding, organizational details, and operational settings.
Example request
curl https://api.spirestock.com/api/v1/workspace/config \ -H "Authorization: Bearer YOUR_TOKEN"
Example response
{
"response_code": 200,
"data": {
"config": {
"id": 1,
"organization_id": 5,
"logo": "https://media.cdn.spirestock.com/orgs/acme-dairy/logo.png",
"primary_color": "#1e40af",
"secondary_color": "#f59e0b",
"org_footer_name": "Acme Dairy Pvt. Ltd.",
"org_address": "12 Industrial Area, Delhi",
"gstin": "07AAACA1234A1Z5",
"fssai": "10012345000001",
"contact_number": "+911234567890",
"order_timing": "06:00-22:00",
"page_limit": 20,
"chatbot_enabled": false
},
"workspace": {
"workspace_id": "ws_abc123",
"slug": "acme-dairy",
"display_name": "Acme Dairy",
"domain": null,
"plan": "professional",
"status": 1,
"max_users": 500
}
}
}