startAgentforceOAuth
Start the Salesforce OAuth flow for Agentforce and return the authorization URL.
startAgentforceOAuth(
input: StartAgentforceOAuthInput!
): StartAgentforceOAuthPayload!
Example
- Query
- Variables
- Response
mutation ($input: StartAgentforceOAuthInput!) {
startAgentforceOAuth(input: $input) {
authorizationUrl
state
}
}
{
"input": {
"siteId": 42
}
}
{
"data": {
"startAgentforceOAuth": {
"authorizationUrl": "authorizationUrl",
"state": "Quebec"
}
}
}
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.