Skip to main content

startAgentforceOAuth

Start the Salesforce OAuth flow for Agentforce and return the authorization URL.

startAgentforceOAuth(
input: StartAgentforceOAuthInput!
): StartAgentforceOAuthPayload!

Example

mutation ($input: StartAgentforceOAuthInput!) {
startAgentforceOAuth(input: $input) {
authorizationUrl
state
}
}

Arguments

startAgentforceOAuth.input ● StartAgentforceOAuthInput! non-null input common

The site to authorize for Agentforce.

Type

StartAgentforceOAuthPayload object common

The result of starting the Salesforce OAuth flow for Agentforce.