> For the complete documentation index, see [llms.txt](https://teamleader-sdk.mcore-services.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://teamleader-sdk.mcore-services.dev/api-reference/calendar/call-outcomes.md).

# Call Outcomes

Manage call outcomes in Teamleader Focus Calendar.

```php
Teamleader::callOutcomes()
```

|                          |                                                                       |
| ------------------------ | --------------------------------------------------------------------- |
| Class                    | `McoreServices\TeamleaderSDK\Resources\Calendar\CallOutcomes`         |
| Create / update / delete | — / — / —                                                             |
| Pagination               | `page_size` / `page_number`; no totals — a short page is the last one |

## Endpoints

* `callOutcomes.list`

## Filters

`list()` takes no filters.

## Methods

### `list()`

```php
list(array $filters = [], array $options = []): array
```

List call outcomes

* `$filters` — None; callOutcomes.list takes no filter. Passing any throws.
* `$options` — page\_size, page\_number

**Throws** `InvalidArgumentException` On a filter or an unsupported option

### `byIds()`

```php
byIds(array $ids, array $options = []): array
```

Get call outcomes by ID

The API cannot filter outcomes, so this reads every page and keeps the requested IDs. Outcomes are a short, account-level list, so that is one request in practice.

* `$ids` — Call outcome UUIDs

### `findByName()`

```php
findByName(string $name, array $options = []): ?array
```

Find call outcome by name

## Examples

Get all call outcomes:

```php
$callOutcomes = Teamleader::callOutcomes()->list();
```

Get specific call outcomes by IDs:

```php
$callOutcomes = Teamleader::callOutcomes()->byIds(["uuid1", "uuid2"]);
```

Find call outcome by name:

```php
$outcome = Teamleader::callOutcomes()->findByName("Succesvol gesprek");
```
