---
title: "create native trigger service"
method: POST
path: "/w/{workspace}/native_triggers/integrations/{service_name}/create"
tags: ["workspace_integration"]
---

# create native trigger service

`POST /w/{workspace}/native_triggers/integrations/{service_name}/create`

## Path parameters

- `workspace` string, required
- `service_name` 'nextcloud' | 'google' | 'github', required

## Request body

- WorkspaceOAuthConfig
  - `client_id` string, required — The OAuth client ID for the workspace
  - `client_secret` string, required — The OAuth client secret for the workspace
  - `base_url` string, uri, required — The base URL of the workspace
  - `redirect_uri` string, uri, required — The OAuth redirect URI

## Response `201`

native trigger service created

---

[API](https://skmtc.dev/windmill/apis/windmill-api.md) · [All operations](https://skmtc.dev/windmill/apis/windmill-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/windmill/windmill-api/revisions/7b281701c340/schema)
