POST /accounts/{account_id}/one/integrations
Creates a new integration for the specified application. Integration creation with OAuth is not supported by API at the moment. For other auth methods, use GET /v2/applications/{application_id}/credential-guide to see the required credential structure and example payloads for each vendor.
Servers
- https://api.cloudflare.com/client/v4
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
account_id |
String | Yes |
Cloudflare account identifier. |
Request headers
| Name | Type | Required | Description |
|---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
| Name | Type | Required | Description |
|---|---|---|---|
use_cases[] |
Array | No |
List of use case or feature slugs to enroll (e.g., ['casb', 'ces', 'auto_remediation']). |
application |
String | Yes |
Vendor/application slug (e.g., GOOGLE_WORKSPACE).
Valid values:
|
name |
String | Yes |
Name of the integration. |
auth_method |
String | No |
Authentication method slug (uses default if omitted). |
credentials |
Object | Yes |
Credentials for the integration. |
permissions[] |
Array | No |
List of permission scopes (uses policy defaults if empty). |
dlp_profiles[] |
Array | No |
List of DLP profile IDs to associate. |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.