# \WorkspaceIntegrationApi
All URIs are relative to */api*
[**check_if_native_triggers_service_exists**](WorkspaceIntegrationApi.md#check_if_native_triggers_service_exists) | **GET** /w/{workspace}/native_triggers/integrations/{service_name}/exists | check if integrations for a particular service exists
[**check_instance_sharing_available**](WorkspaceIntegrationApi.md#check_instance_sharing_available) | **GET** /w/{workspace}/native_triggers/integrations/{service_name}/instance_sharing_available | check if instance-level credential sharing is available for a service
[**create_native_trigger_service**](WorkspaceIntegrationApi.md#create_native_trigger_service) | **POST** /w/{workspace}/native_triggers/integrations/{service_name}/create | create native trigger service
[**delete_native_trigger_connection**](WorkspaceIntegrationApi.md#delete_native_trigger_connection) | **DELETE** /w/{workspace}/native_triggers/integrations/{service_name}/connections/delete | disconnect a native trigger connection and delete the triggers using it
[**delete_native_trigger_service**](WorkspaceIntegrationApi.md#delete_native_trigger_service) | **DELETE** /w/{workspace}/native_triggers/integrations/{service_name}/delete | delete native trigger service
[**generate_native_trigger_service_connect_url**](WorkspaceIntegrationApi.md#generate_native_trigger_service_connect_url) | **POST** /w/{workspace}/native_triggers/integrations/{service_name}/generate_connect_url | generate connect url for native trigger service
[**list_native_trigger_connections**](WorkspaceIntegrationApi.md#list_native_trigger_connections) | **GET** /w/{workspace}/native_triggers/integrations/{service_name}/connections | list the native trigger connections of a service the caller can use
[**list_native_trigger_services**](WorkspaceIntegrationApi.md#list_native_trigger_services) | **GET** /w/{workspace}/native_triggers/integrations/list | list available native trigger services
[**native_trigger_service_callback**](WorkspaceIntegrationApi.md#native_trigger_service_callback) | **POST** /w/{workspace}/native_triggers/integrations/{service_name}/callback | native trigger service oauth callback
[**set_native_trigger_workspace_connection**](WorkspaceIntegrationApi.md#set_native_trigger_workspace_connection) | **POST** /w/{workspace}/native_triggers/integrations/{service_name}/workspace_connection | share a connection of this service with every member of the workspace (admin only), or stop sharing
## check_if_native_triggers_service_exists
> bool check_if_native_triggers_service_exists(workspace, service_name)
check if integrations for a particular service exists
### Parameters
**workspace** | **String** | | [required] |
**service_name** | [**NativeServiceName**](.md) | | [required] |
### Return type
**bool**
### Authorization
[cookieAuth](../README.md#cookieAuth), [bearerAuth](../README.md#bearerAuth)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
## check_instance_sharing_available
> bool check_instance_sharing_available(workspace, service_name)
check if instance-level credential sharing is available for a service
### Parameters
**workspace** | **String** | | [required] |
**service_name** | [**NativeServiceName**](.md) | | [required] |
### Return type
**bool**
### Authorization
[cookieAuth](../README.md#cookieAuth), [bearerAuth](../README.md#bearerAuth)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
## create_native_trigger_service
> String create_native_trigger_service(workspace, service_name, workspace_o_auth_config)
create native trigger service
### Parameters
**workspace** | **String** | | [required] |
**service_name** | [**NativeServiceName**](.md) | | [required] |
**workspace_o_auth_config** | [**WorkspaceOAuthConfig**](WorkspaceOAuthConfig.md) | new native trigger service | [required] |
### Return type
**String**
### Authorization
[cookieAuth](../README.md#cookieAuth), [bearerAuth](../README.md#bearerAuth)
### HTTP request headers
- **Content-Type**: application/json
- **Accept**: text/plain
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
## delete_native_trigger_connection
> String delete_native_trigger_connection(workspace, service_name, path)
disconnect a native trigger connection and delete the triggers using it
### Parameters
**workspace** | **String** | | [required] |
**service_name** | [**NativeServiceName**](.md) | | [required] |
**path** | **String** | | [required] |
### Return type
**String**
### Authorization
[cookieAuth](../README.md#cookieAuth), [bearerAuth](../README.md#bearerAuth)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
## delete_native_trigger_service
> String delete_native_trigger_service(workspace, service_name)
delete native trigger service
### Parameters
**workspace** | **String** | | [required] |
**service_name** | [**NativeServiceName**](.md) | | [required] |
### Return type
**String**
### Authorization
[cookieAuth](../README.md#cookieAuth), [bearerAuth](../README.md#bearerAuth)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: text/plain
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
## generate_native_trigger_service_connect_url
> String generate_native_trigger_service_connect_url(workspace, service_name, generate_native_trigger_service_connect_url_request)
generate connect url for native trigger service
### Parameters
**workspace** | **String** | | [required] |
**service_name** | [**NativeServiceName**](.md) | | [required] |
**generate_native_trigger_service_connect_url_request** | [**GenerateNativeTriggerServiceConnectUrlRequest**](GenerateNativeTriggerServiceConnectUrlRequest.md) | redirect_uri, and where to save the connection (defaults to u/{caller}/native_{resource_type}). Uses the workspace OAuth client, or the instance one when the instance shares it. | [required] |
### Return type
**String**
### Authorization
[cookieAuth](../README.md#cookieAuth), [bearerAuth](../README.md#bearerAuth)
### HTTP request headers
- **Content-Type**: application/json
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
## list_native_trigger_connections
> Vec<models::NativeTriggerConnection> list_native_trigger_connections(workspace, service_name)
list the native trigger connections of a service the caller can use
### Parameters
**workspace** | **String** | | [required] |
**service_name** | [**NativeServiceName**](.md) | | [required] |
### Return type
[**Vec<models::NativeTriggerConnection>**](NativeTriggerConnection.md)
### Authorization
[cookieAuth](../README.md#cookieAuth), [bearerAuth](../README.md#bearerAuth)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
## list_native_trigger_services
> Vec<models::WorkspaceIntegrations> list_native_trigger_services(workspace)
list available native trigger services
### Parameters
**workspace** | **String** | | [required] |
### Return type
[**Vec<models::WorkspaceIntegrations>**](WorkspaceIntegrations.md)
### Authorization
[cookieAuth](../README.md#cookieAuth), [bearerAuth](../README.md#bearerAuth)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
## native_trigger_service_callback
> String native_trigger_service_callback(workspace, service_name, native_trigger_service_callback_request)
native trigger service oauth callback
### Parameters
**workspace** | **String** | | [required] |
**service_name** | [**NativeServiceName**](.md) | | [required] |
**native_trigger_service_callback_request** | [**NativeTriggerServiceCallbackRequest**](NativeTriggerServiceCallbackRequest.md) | OAuth callback data | [required] |
### Return type
**String**
### Authorization
[cookieAuth](../README.md#cookieAuth), [bearerAuth](../README.md#bearerAuth)
### HTTP request headers
- **Content-Type**: application/json
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
## set_native_trigger_workspace_connection
> String set_native_trigger_workspace_connection(workspace, service_name, set_native_trigger_workspace_connection_request)
share a connection of this service with every member of the workspace (admin only), or stop sharing
### Parameters
**workspace** | **String** | | [required] |
**service_name** | [**NativeServiceName**](.md) | | [required] |
**set_native_trigger_workspace_connection_request** | [**SetNativeTriggerWorkspaceConnectionRequest**](SetNativeTriggerWorkspaceConnectionRequest.md) | | [required] |
### Return type
**String**
### Authorization
[cookieAuth](../README.md#cookieAuth), [bearerAuth](../README.md#bearerAuth)
### HTTP request headers
- **Content-Type**: application/json
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)