# Get Social Security Settings Returns the account's Social Security settings, wrapped in a social_security key. Always 200: when nothing is configured it returns the defaults with niss: null, which is how a client detects that the account is not set up yet. Requires the administrator or contributor role. Error messages follow the language of the account (pt, en or es), not the Accept-Language header. JSON only. This feature only calculates and records; it submits nothing to Segurança Social. Endpoint: GET /api/v3/accounts/social_security Version: 3.1.0 Security: apiKeyAuth ## Query parameters: - `api_key` (string, required) Your API Key. Example: "YOUR_API_KEY" ## Response 200 fields (application/json): - `social_security` (object) The account's Social Security settings. Always returns all five fields. - `social_security.niss` (string,null) NISS (Social Security identification number), 11 digits, stored without separators. null when no settings exist yet. Example: "12345678902" - `social_security.worker_type` (string) Worker type. Changes the contribution rate used by the quarterly declaration. Enum: "independente", "eni" - `social_security.regime` (string) Stored and returned only. No calculation reads it. Enum: "services", "goods", "mixed" - `social_security.exempt` (boolean) Stored and returned only. No calculation reads it. - `social_security.special_profile` (string) Stored and returned only. No calculation reads it. organized_accounting does not exempt the account from the calculation. Enum: "none", "organized_accounting", "accumulation", "own_fund" ## Response 401 fields (application/json): - `errors` (array) Example: [{"error":"Authentication Error"}] - `errors.error` (string) ## Response 403 fields (application/json): - `errors` (array) Example: [{"error":"You do not have permission to perform this action"}] - `errors.error` (string)