Dismiss Tasks
Contents
Mobile_API »Close Task Popup
Base URL
https://apimobile.callproof.com
Endpoint
/api/close-taskpopup
Purpose
Dismisses the current-tasks popup for the authenticated user for the day by turning off the user’s “show task popup” flag.
HTTP Method
PUT
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)
Indicates that the task popup was dismissed successfully.
| 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 |
| message | string | Confirmation message (for example, "Tasks dismissed for the day.") |
| uri | string | Requested resource URI |
Error Responses
| Status Code | Meaning |
|---|---|
| 400 | Bad Request – the task popup could not be dismissed |
| 401 | Unauthorized – missing, invalid, or expired Bearer token |
- 400 – An error occurred while dismissing the popup (for example, "Error while Dismiss the task details").
- 401 – Authentication failed or the access token is missing/expired.