sinch.domains.conversation.api.v1.project_settings_apis module

class sinch.domains.conversation.api.v1.project_settings_apis.ProjectSettings(sinch)[source]

Bases: BaseConversation

create(
contact_settings: ContactSettingsDict | Unset = <sinch.core.sentinel.Unset object>,
**kwargs,
) → ProjectSettingsResponse[source]

Creates initial settings for the project. Useful for enabling features like Unified Contact ID. For new projects with no existing contacts, you can enable Unified Contact ID immediately.

Parameters:
  • contact_settings (UnsetOr[ContactSettingsDict]) – (optional) Settings related to contact management for the project.

  • **kwargs –

    Additional parameters for the request.

Returns:

The created project settings.

Return type:

ProjectSettingsResponse

For detailed documentation, visit https://developers.sinch.com/docs/conversation/.

get(
**kwargs,
) → ProjectSettingsResponse[source]

Retrieves the current settings for the project, including contact management options such as Unified Contact ID.

Parameters:

**kwargs –

Additional parameters for the request.

Returns:

The current project settings.

Return type:

ProjectSettingsResponse

For detailed documentation, visit https://developers.sinch.com/docs/conversation/.

update(
contact_settings: ContactSettingsDict | Unset = <sinch.core.sentinel.Unset object>,
**kwargs,
) → ProjectSettingsResponse[source]

Updates project settings (e.g. enabling/disabling Unified Contact ID). For existing projects, you must resolve all identity conflicts before enabling Unified Contact ID.

Parameters:
  • contact_settings (UnsetOr[ContactSettingsDict]) – (optional) Settings related to contact management for the project.

  • **kwargs –

    Additional parameters for the request.

Returns:

The updated project settings.

Return type:

ProjectSettingsResponse

For detailed documentation, visit https://developers.sinch.com/docs/conversation/.

delete(**kwargs) → None[source]

Deletes all project-level settings for the project.

Parameters:

**kwargs –

Additional parameters for the request.

Returns:

None

Return type:

None

For detailed documentation, visit https://developers.sinch.com/docs/conversation/.