> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Enum ContactSourceType

> Describes what source the contacts should be retrieved from.

Describes what source the contacts should be retrieved from.

## Syntax

```crmscript theme={null}
ContactSourceType
```

## Fields

| Name      | Description                                                                                 |
| --------- | ------------------------------------------------------------------------------------------- |
| Unknown   | Unknown/undecided type                                                                      |
| History   | Contact is retrieved from the history list                                                  |
| Diary     | Contact is retrieved from the diary                                                         |
| Favorites | Contact is retrieved from the favorites list                                                |
| All       | Enumeration generated from the wsdl doesn't handle the \[Flags] attribute (bit enumeration) |


## Related topics

- [SuperOffice.WebApi.Data.ContactSourceType](/en/api/reference/webapi/SuperOffice.WebApi.Data.ContactSourceType.md)
- [SuperOffice.WebApi.Agents.ContactAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.ContactAgent.md)
- [SuperOffice.WebApi.Agents.IContactAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.IContactAgent.md)
- [Namespace CRMScript.NetServer](/en/automation/crmscript/reference/CRMScript.NetServer.md)
- [Enum AssociateSourceType](/en/automation/crmscript/reference/CRMScript.NetServer.AssociateSourceType.md)
- [Enum values for CopilotDataSourceType](/en/database/tables/enums/copilotdatasourcetype.md)
