Difference between revisions of "Settings Details"
Ashley DeBon (talk | contribs) (Created page with "== Get App Settings == === Base URL === https://apimobile.callproof.com === Endpoint === /api/app-settings === Purpose === Retrieves the authenticated user’s mobile app p...") |
Ashley DeBon (talk | contribs) (→Get App Settings) |
||
| Line 1: | Line 1: | ||
| − | == Get App Settings == | + | == [[Mobile_API]] »Get App Settings == |
=== Base URL === | === Base URL === | ||
Revision as of 12:28, 20 July 2026
Contents
Mobile_API »Get App Settings
Base URL
https://apimobile.callproof.com
Endpoint
/api/app-settings
Purpose
Retrieves the authenticated user’s mobile app preference settings, including calendar sync, appointment/task popup preferences, homepage preference, logging, start-appointment flag, and task notification timing choices.
HTTP Method
GET
Headers
| Header | Required | Description |
|---|---|---|
| Authorization | Yes | Bearer access token |
Security
- Yes – Requires Bearer Token authentication.
Parameters
Path Parameters
None.
Query Parameters
None.
Request Body
None.
Successful Response (200)
Returns the user’s current app settings.
| Field | Type | Description |
|---|---|---|
| clientStatusCode | integer | Status indicator for the client (for example, 200) |
| user_id | integer | Identifier of the authenticated user |
| company_id | integer | Identifier of the authenticated user’s company |
| data | object | App settings payload |
| uri | string | Requested resource URI |
data
| Field | Type | Description |
|---|---|---|
| google_cal_sync | boolean | Whether device calendar sync is enabled |
| hide_appt_popup | boolean | Whether the mobile appointment popup is hidden |
| task_popup_setting | boolean | Whether the task popup is enabled for display (true means popup is shown)
|
| is_contact_page_as_homepage | boolean | Whether the contacts page is set as the app homepage |
| is_logs_enabled | boolean | Whether company logging is enabled |
| is_start_appointment | boolean | Whether start-appointment behavior is enabled for the user |
| device_notification | object | Task notification timing options |
data.device_notification.choices[]
| Field | Type | Description |
|---|---|---|
| task_notification_choice_id | integer | Unique identifier of the notification timing choice |
| name | string | Display name of the choice |
| value | integer/string | Timing value for the choice |
| selected | boolean | true when this is the user’s currently selected timing option
|
Error Responses
| Status Code | Meaning |
|---|---|
| 400 | Bad Request – app settings could not be retrieved |
| 401 | Unauthorized – missing, invalid, or expired Bearer token |
- 400 – An error occurred while loading app settings.
- 401 – Authentication failed or the access token is missing/expired.