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

# CRMInboxApi

# cyberwave.rest.CRMInboxApi

All URIs are relative to *[http://localhost](http://localhost)*

| Method                                                                                   | HTTP request                              | Description         |
| ---------------------------------------------------------------------------------------- | ----------------------------------------- | ------------------- |
| [**src\_app\_api\_inbox\_generate\_suggestion**](#src_app_api_inbox_generate_suggestion) | **POST** `/api/v1/inbox/{uuid}/suggest`   | Generate Suggestion |
| [**src\_app\_api\_inbox\_get\_submission**](#src_app_api_inbox_get_submission)           | **GET** `/api/v1/inbox/{uuid}`            | Get Submission      |
| [**src\_app\_api\_inbox\_list\_submissions**](#src_app_api_inbox_list_submissions)       | **GET** /api/v1/inbox                     | List Submissions    |
| [**src\_app\_api\_inbox\_mark\_as\_read**](#src_app_api_inbox_mark_as_read)              | **POST** `/api/v1/inbox/{uuid}/mark-read` | Mark As Read        |
| [**src\_app\_api\_inbox\_update\_submission**](#src_app_api_inbox_update_submission)     | **PUT** `/api/v1/inbox/{uuid}`            | Update Submission   |

# **src\_app\_api\_inbox\_generate\_suggestion**

> ContactSubmissionAIResponseSchema src\_app\_api\_inbox\_generate\_suggestion(uuid, contact\_submission\_ai\_suggest\_schema)

Generate Suggestion

Generate an AI-powered response suggestion for a contact submission.

### Example

* Api Key Authentication (CustomTokenAuthentication):

```python theme={null}
import cyberwave.rest
from cyberwave.rest.models.contact_submission_ai_response_schema import ContactSubmissionAIResponseSchema
from cyberwave.rest.models.contact_submission_ai_suggest_schema import ContactSubmissionAISuggestSchema
from cyberwave.rest.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = cyberwave.rest.Configuration(
    host = "http://localhost"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure API key authorization: CustomTokenAuthentication
configuration.api_key['CustomTokenAuthentication'] = os.environ["API_KEY"]

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['CustomTokenAuthentication'] = 'Bearer'

# Enter a context with an instance of the API client
with cyberwave.rest.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = cyberwave.rest.CRMInboxApi(api_client)
    uuid = 'uuid_example' # str | 
    contact_submission_ai_suggest_schema = cyberwave.rest.ContactSubmissionAISuggestSchema() # ContactSubmissionAISuggestSchema | 

    try:
        # Generate Suggestion
        api_response = api_instance.src_app_api_inbox_generate_suggestion(uuid, contact_submission_ai_suggest_schema)
        print("The response of CRMInboxApi->src_app_api_inbox_generate_suggestion:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling CRMInboxApi->src_app_api_inbox_generate_suggestion: %s\n" % e)
```

### Parameters

| Name                                         | Type                                                                                         | Description | Notes |
| -------------------------------------------- | -------------------------------------------------------------------------------------------- | ----------- | ----- |
| **uuid**                                     | **str**                                                                                      |             |       |
| **contact\_submission\_ai\_suggest\_schema** | [**ContactSubmissionAISuggestSchema**](/api-reference/rest/ContactSubmissionAISuggestSchema) |             |       |

### Return type

[**ContactSubmissionAIResponseSchema**](/api-reference/rest/ContactSubmissionAIResponseSchema)

### Authorization

CustomTokenAuthentication

### HTTP request headers

* **Content-Type**: application/json
* **Accept**: application/json

### HTTP response details

| Status code | Description | Response headers |
| ----------- | ----------- | ---------------- |
| **200**     | OK          | -                |

# **src\_app\_api\_inbox\_get\_submission**

> ContactSubmissionSchema src\_app\_api\_inbox\_get\_submission(uuid)

Get Submission

Get a specific contact submission by UUID.

### Example

* Api Key Authentication (CustomTokenAuthentication):

```python theme={null}
import cyberwave.rest
from cyberwave.rest.models.contact_submission_schema import ContactSubmissionSchema
from cyberwave.rest.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = cyberwave.rest.Configuration(
    host = "http://localhost"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure API key authorization: CustomTokenAuthentication
configuration.api_key['CustomTokenAuthentication'] = os.environ["API_KEY"]

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['CustomTokenAuthentication'] = 'Bearer'

# Enter a context with an instance of the API client
with cyberwave.rest.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = cyberwave.rest.CRMInboxApi(api_client)
    uuid = 'uuid_example' # str | 

    try:
        # Get Submission
        api_response = api_instance.src_app_api_inbox_get_submission(uuid)
        print("The response of CRMInboxApi->src_app_api_inbox_get_submission:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling CRMInboxApi->src_app_api_inbox_get_submission: %s\n" % e)
```

### Parameters

| Name     | Type    | Description | Notes |
| -------- | ------- | ----------- | ----- |
| **uuid** | **str** |             |       |

### Return type

[**ContactSubmissionSchema**](/api-reference/rest/ContactSubmissionSchema)

### Authorization

CustomTokenAuthentication

### HTTP request headers

* **Content-Type**: Not defined
* **Accept**: application/json

### HTTP response details

| Status code | Description | Response headers |
| ----------- | ----------- | ---------------- |
| **200**     | OK          | -                |

# **src\_app\_api\_inbox\_list\_submissions**

> List\[ContactSubmissionSchema] src\_app\_api\_inbox\_list\_submissions(status=status, source=source, workspace\_uuid=workspace\_uuid)

List Submissions

List all contact submissions for workspaces the user belongs to.

Query params:

* status: Filter by status (new, read, replied, converted, archived)
* source: Filter by source (contact\_form, early\_access, vendor)
* workspace\_uuid: Filter by specific workspace

### Example

* Api Key Authentication (CustomTokenAuthentication):

```python theme={null}
import cyberwave.rest
from cyberwave.rest.models.contact_submission_schema import ContactSubmissionSchema
from cyberwave.rest.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = cyberwave.rest.Configuration(
    host = "http://localhost"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure API key authorization: CustomTokenAuthentication
configuration.api_key['CustomTokenAuthentication'] = os.environ["API_KEY"]

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['CustomTokenAuthentication'] = 'Bearer'

# Enter a context with an instance of the API client
with cyberwave.rest.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = cyberwave.rest.CRMInboxApi(api_client)
    status = 'status_example' # str |  (optional)
    source = 'source_example' # str |  (optional)
    workspace_uuid = 'workspace_uuid_example' # str |  (optional)

    try:
        # List Submissions
        api_response = api_instance.src_app_api_inbox_list_submissions(status=status, source=source, workspace_uuid=workspace_uuid)
        print("The response of CRMInboxApi->src_app_api_inbox_list_submissions:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling CRMInboxApi->src_app_api_inbox_list_submissions: %s\n" % e)
```

### Parameters

| Name                | Type    | Description | Notes       |
| ------------------- | ------- | ----------- | ----------- |
| **status**          | **str** |             | \[optional] |
| **source**          | **str** |             | \[optional] |
| **workspace\_uuid** | **str** |             | \[optional] |

### Return type

[**List\[ContactSubmissionSchema\]**](/api-reference/rest/ContactSubmissionSchema)

### Authorization

CustomTokenAuthentication

### HTTP request headers

* **Content-Type**: Not defined
* **Accept**: application/json

### HTTP response details

| Status code | Description | Response headers |
| ----------- | ----------- | ---------------- |
| **200**     | OK          | -                |

# **src\_app\_api\_inbox\_mark\_as\_read**

> ContactSubmissionSchema src\_app\_api\_inbox\_mark\_as\_read(uuid)

Mark As Read

Mark a submission as read.

### Example

* Api Key Authentication (CustomTokenAuthentication):

```python theme={null}
import cyberwave.rest
from cyberwave.rest.models.contact_submission_schema import ContactSubmissionSchema
from cyberwave.rest.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = cyberwave.rest.Configuration(
    host = "http://localhost"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure API key authorization: CustomTokenAuthentication
configuration.api_key['CustomTokenAuthentication'] = os.environ["API_KEY"]

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['CustomTokenAuthentication'] = 'Bearer'

# Enter a context with an instance of the API client
with cyberwave.rest.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = cyberwave.rest.CRMInboxApi(api_client)
    uuid = 'uuid_example' # str | 

    try:
        # Mark As Read
        api_response = api_instance.src_app_api_inbox_mark_as_read(uuid)
        print("The response of CRMInboxApi->src_app_api_inbox_mark_as_read:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling CRMInboxApi->src_app_api_inbox_mark_as_read: %s\n" % e)
```

### Parameters

| Name     | Type    | Description | Notes |
| -------- | ------- | ----------- | ----- |
| **uuid** | **str** |             |       |

### Return type

[**ContactSubmissionSchema**](/api-reference/rest/ContactSubmissionSchema)

### Authorization

CustomTokenAuthentication

### HTTP request headers

* **Content-Type**: Not defined
* **Accept**: application/json

### HTTP response details

| Status code | Description | Response headers |
| ----------- | ----------- | ---------------- |
| **200**     | OK          | -                |

# **src\_app\_api\_inbox\_update\_submission**

> ContactSubmissionSchema src\_app\_api\_inbox\_update\_submission(uuid, contact\_submission\_update\_schema)

Update Submission

Update a contact submission (status, notes, etc.).

### Example

* Api Key Authentication (CustomTokenAuthentication):

```python theme={null}
import cyberwave.rest
from cyberwave.rest.models.contact_submission_schema import ContactSubmissionSchema
from cyberwave.rest.models.contact_submission_update_schema import ContactSubmissionUpdateSchema
from cyberwave.rest.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = cyberwave.rest.Configuration(
    host = "http://localhost"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure API key authorization: CustomTokenAuthentication
configuration.api_key['CustomTokenAuthentication'] = os.environ["API_KEY"]

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['CustomTokenAuthentication'] = 'Bearer'

# Enter a context with an instance of the API client
with cyberwave.rest.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = cyberwave.rest.CRMInboxApi(api_client)
    uuid = 'uuid_example' # str | 
    contact_submission_update_schema = cyberwave.rest.ContactSubmissionUpdateSchema() # ContactSubmissionUpdateSchema | 

    try:
        # Update Submission
        api_response = api_instance.src_app_api_inbox_update_submission(uuid, contact_submission_update_schema)
        print("The response of CRMInboxApi->src_app_api_inbox_update_submission:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling CRMInboxApi->src_app_api_inbox_update_submission: %s\n" % e)
```

### Parameters

| Name                                    | Type                                                                                   | Description | Notes |
| --------------------------------------- | -------------------------------------------------------------------------------------- | ----------- | ----- |
| **uuid**                                | **str**                                                                                |             |       |
| **contact\_submission\_update\_schema** | [**ContactSubmissionUpdateSchema**](/api-reference/rest/ContactSubmissionUpdateSchema) |             |       |

### Return type

[**ContactSubmissionSchema**](/api-reference/rest/ContactSubmissionSchema)

### Authorization

CustomTokenAuthentication

### HTTP request headers

* **Content-Type**: application/json
* **Accept**: application/json

### HTTP response details

| Status code | Description | Response headers |
| ----------- | ----------- | ---------------- |
| **200**     | OK          | -                |
