---
title: "To get the outcomes of a user"
method: GET
path: "/v1/unified-inbox/outcome"
tags: ["unified-inbox"]
---

# To get the outcomes of a user

`GET /v1/unified-inbox/outcome`

## Request

- Base URL: `https://developer.saleshandy.com` (the document declares no server; this is the origin it was published from)
- URL: `https://developer.saleshandy.com/v1/unified-inbox/outcome`
- Auth: API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/saleshandy/apis/develop-with-saleshandy/docs/v1/unified-inbox/outcome/get.ts> (a function with typed inputs; its response is checked against the schema)

## Query parameters

- `pageSize` number
- `page` number
- `category` 'custom' | 'default', required

## Response `200`

Successfully fetched outcome list

- GetOutcomeResponseDto
  - `message` string: Response message indicating the operation status
  - `payload` OutcomeListResponse
    - `items` OutcomeItem[]: List of outcome items
      - `id` string: Unique identifier for the outcome item
      - `name` string: Name of the outcome item
      - `isDefault` boolean: Indicates if the outcome is the default
      - `sentiment` string: Sentiment associated with the outcome (e.g., Positive, Neutral, Negative)
    - `meta` Meta
      - `totalItems` number: Total number of items available.
      - `currentPage` number: Current page number.
      - `itemsPerPage` number: Number of items displayed per page.
      - `totalPages` number: Total number of pages available.
      - `itemCount` number: Number of items on the current page.

## Other responses

- `400`: 4000: Failed to fetch the outcome<br><br>
- `500`: 5001: Internal server error, please try again later<br><br>

---

[API](https://skmtc.dev/saleshandy/apis/develop-with-saleshandy.md) - [All operations](https://skmtc.dev/saleshandy/apis/develop-with-saleshandy/llms.txt) - [OpenAPI document](https://skmtc.dev/saleshandy/apis/develop-with-saleshandy/revisions/e7a29c931aa7?raw)
