API reference / Settings
Settings API
11 endpoints. Scopes: Scalar360.settings.READ, .CREATE, .UPDATE, .DELETE or .ALL. All calls need Authorization: Scalar360-oauthtoken <access_token> — see Authentication.
List organizations
/api/v1/organizations
Scope:
curl -X GET "https://api.scalar360.com/api/v1/organizations" \
-H "Authorization: Scalar360-oauthtoken $ACCESS_TOKEN"Get organization
/api/v1/organizations/{id}
Scope:
| Parameter | In | Type | Required |
|---|---|---|---|
id | path | string (uuid) | Yes |
curl -X GET "https://api.scalar360.com/api/v1/organizations/{id}" \
-H "Authorization: Scalar360-oauthtoken $ACCESS_TOKEN"Update organization
/api/v1/organizations/{id}
Scope: Scalar360.settings.CREATE
| Parameter | In | Type | Required |
|---|---|---|---|
id | path | string (uuid) | Yes |
confirmGstinChange | query | boolean (default false) | No |
| Body field | Type | Required | Notes |
|---|---|---|---|
gid | string (uuid) | ||
name | string | ||
legalName | string | ||
gstin | string | ||
pan | string | ||
email | string | ||
phone | string | ||
address | string | ||
state | string | ||
pin | string | ||
bankAccountNo | string | ||
bankName | string | ||
bankIfsc | string | ||
bankAddress | string | ||
financialYearStart | string | ||
taxPreference | string | ||
purchaseTaxInclusive | boolean | ||
separateUnregisteredInvoiceSeries | boolean | ||
logoUrl | string | ||
accentColor | string | ||
invoiceFooter | string | ||
invoiceHeaderImage | string | ||
invoiceFooterImage | string | ||
invoiceTemplate | string | ||
deliveryNoteTemplate | string | ||
deliveryNoteFooter | string | ||
deliveryNoteAccent | string | ||
deliveryNoteLogoUrl | string | ||
deliveryProvider | string | ||
deliveryApiUrl | string | ||
deliveryApiKey | string | ||
deliveryApiEnabled | boolean | ||
deliveryApiConfig | string | ||
payslipTemplate | string | ||
payslipNote | string | ||
termsAndConditions | string | ||
invoiceLayoutConfig | string | ||
status | string | ||
timezone | string | ||
booksLockedUntil | string (date) | ||
booksLockedByUserId | integer | ||
booksLockedAt | string (date-time) | ||
openingBalanceDate | string (date) | ||
msmeRbiBankRate | number | ||
createdAt | string (date-time) | ||
updatedAt | string (date-time) |
curl -X POST "https://api.scalar360.com/api/v1/organizations/{id}" \
-H "Authorization: Scalar360-oauthtoken $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"gid":"3f1c2b9e-7a1d-4c3e-9b2a-1e5f6a7b8c9d","name":"string","legalName":"string","gstin":"string","pan":"string","email":"string"}'Directory
/api/v1/organizations/{id}/directory
Scope: Scalar360.settings.READ
| Parameter | In | Type | Required |
|---|---|---|---|
id | path | string (uuid) | Yes |
curl -X GET "https://api.scalar360.com/api/v1/organizations/{id}/directory" \
-H "Authorization: Scalar360-oauthtoken $ACCESS_TOKEN"Export organization data
/api/v1/organizations/{id}/export
Scope: Scalar360.settings.READ
| Parameter | In | Type | Required |
|---|---|---|---|
id | path | string (uuid) | Yes |
curl -X GET "https://api.scalar360.com/api/v1/organizations/{id}/export" \
-H "Authorization: Scalar360-oauthtoken $ACCESS_TOKEN"Members
/api/v1/organizations/{id}/members
Scope: Scalar360.settings.READ
| Parameter | In | Type | Required |
|---|---|---|---|
id | path | string (uuid) | Yes |
curl -X GET "https://api.scalar360.com/api/v1/organizations/{id}/members" \
-H "Authorization: Scalar360-oauthtoken $ACCESS_TOKEN"Permissions
/api/v1/organizations/{id}/permissions
Scope: Scalar360.settings.READ
| Parameter | In | Type | Required |
|---|---|---|---|
id | path | string (uuid) | Yes |
curl -X GET "https://api.scalar360.com/api/v1/organizations/{id}/permissions" \
-H "Authorization: Scalar360-oauthtoken $ACCESS_TOKEN"List
/api/v1/organizations/{id}/roles
Scope: Scalar360.settings.READ
| Parameter | In | Type | Required |
|---|---|---|---|
id | path | string (uuid) | Yes |
curl -X GET "https://api.scalar360.com/api/v1/organizations/{id}/roles" \
-H "Authorization: Scalar360-oauthtoken $ACCESS_TOKEN"Seat usage
/api/v1/organizations/{id}/seat-usage
Scope: Scalar360.settings.READ
| Parameter | In | Type | Required |
|---|---|---|---|
id | path | string (uuid) | Yes |
curl -X GET "https://api.scalar360.com/api/v1/organizations/{id}/seat-usage" \
-H "Authorization: Scalar360-oauthtoken $ACCESS_TOKEN"Get settings
/api/v1/organizations/{id}/settings
Scope: Scalar360.settings.READ
| Parameter | In | Type | Required |
|---|---|---|---|
id | path | string (uuid) | Yes |
curl -X GET "https://api.scalar360.com/api/v1/organizations/{id}/settings" \
-H "Authorization: Scalar360-oauthtoken $ACCESS_TOKEN"Get
/api/v1/organizations/roles/{roleId}
Scope: Scalar360.settings.READ
| Parameter | In | Type | Required |
|---|---|---|---|
roleId | path | string (uuid) | Yes |
curl -X GET "https://api.scalar360.com/api/v1/organizations/roles/{roleId}" \
-H "Authorization: Scalar360-oauthtoken $ACCESS_TOKEN"