cURL
curl --request POST \ --url https://app.infisical.com/api/v1/integration \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "integrationAuthId": "<string>", "app": "<string>", "isActive": true, "appId": "<string>", "secretPath": "/", "sourceEnvironment": "<string>", "targetEnvironment": "<string>", "targetEnvironmentId": "<string>", "targetService": "<string>", "targetServiceId": "<string>", "owner": "<string>", "path": "<string>", "region": "<string>", "scope": "<string>", "metadata": {} }'
{ "integration": { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "isActive": true, "url": "<string>", "app": "<string>", "appId": "<string>", "targetEnvironment": "<string>", "targetEnvironmentId": "<string>", "targetService": "<string>", "targetServiceId": "<string>", "owner": "<string>", "path": "<string>", "region": "<string>", "scope": "<string>", "integration": "<string>", "metadata": "<any>", "integrationAuthId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "envId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "secretPath": "/", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z", "lastUsed": "2023-11-07T05:31:56Z" } }
Create an integration to sync secrets.
us-east-1
dev
/some/path
/
An access token in Infisical
Default Response
The response is of type object.
object
Was this page helpful?