POST
/
oauth-connect

Body

application/json
consumerRef
string
required

The ID that your app uses to identify the user whose SaaS credential will be used for this OAuth flow.

groupRef
string
required

The ID that your app uses to identify the group of users for this Connection, this can be an Org ID, workspace ID, etc.

projectId
string
required

The Ampersand project ID.

provider
string
required

The provider that this app connects to.

consumerName
string

The display name for the consumer. Defaults to consumerRef if not provided.

enableCSRFProtection
boolean
groupName
string

The display name for the group. Defaults to groupRef if not provided.

providerAppId
string

ID of the provider app (e.g. Salesforce connected app), returned from a CreateProviderApp call. If omitted, the default provider app that was set up on the Ampersand Dashboard is assumed.

providerWorkspaceRef
string

The identifier for the provider workspace

Response

200 - text/plain

URL to render