Base URL
Required Scopes
This endpoint requires theINTEGRATION_API scope. Sending access also requires INTEGRATION_SHARING_API. The share is checked before the integration is created, so a refused share does not create one.
The owner of a personal API key needs the Create integrations permission. A workspace API key can create an integration with the scope alone.
Parameters
Access
Share the new integration in the same request. Leave outusers, groups, or workspace when you do not want to set that audience. Each list holds at most 100 entries. Duplicate ids in one list are refused.
"user" lets someone use the integration. "editor" lets them edit it. null removes that direct grant.
A new user grant needs an active person in the workspace. A new group grant needs an active group in the workspace. You can revoke a grant for someone who has left. Service accounts are refused. You cannot change the key owner’s grant through access.
Setting workspace, including null, needs a workspace admin. For a personal key that is its owner. A workspace key’s service account has the admin role.
Example
Response Format
Success Response (201 Created)
access is present only when the request sent it. users leaves out the creator and the key owner.
Example Response
Error Handling
Next Steps
After creating an integration, you’ll typically want to:- Add actions that agents can execute
- Add triggers that start workflows
- Configure authentication if your integration requires it
Langdock intentionally blocks browser-origin requests to protect your API key and ensure your applications remain secure. For more information, please see our guide on API Key Best Practices.