---
title: "Get widget data"
method: GET
path: "/v2/mobile/widgets/payslips/recent"
tags: ["Payroll Mobile"]
---

# Get widget data

`GET /v2/mobile/widgets/payslips/recent`

## Request

- Base URL: `https://your-subdomain.deputy.deputy.com/api`
- URL: `https://your-subdomain.deputy.deputy.com/api/v2/mobile/widgets/payslips/recent`
- Auth: API key in header `OAuth`

Get widget data.

## Response `200`

A successful response.

- RecentPayslipsWidgetGetRecentPayslipWidgetResponse
  - `success` boolean
  - `data` ModelGetRecentPayslipWidgetResponseData
    - `showPayslipWidget` boolean
    - `payHistory` ModelPayHistoryData
      - `redirectPath` string

---

[API](https://skmtc.dev/deputy/apis/deputy-v2-api.md) - [All operations](https://skmtc.dev/deputy/apis/deputy-v2-api/llms.txt) - [OpenAPI document](https://skmtc.dev/deputy/apis/deputy-v2-api/revisions/78f0278f4608?raw)
