cURL
curl --request POST \ --url https://api.withampersand.com/v1/oauth-connect \ --header 'Content-Type: application/json' \ --header 'X-Api-Key: <api-key>' \ --data '{ "projectId": "my-project", "provider": "salesforce", "groupRef": "group-123", "groupName": "Organization Name", "consumerRef": "user_123456", "consumerName": "John Doe", "providerWorkspaceRef": "salesforce-instance-domain", "providerMetadata": {}, "providerAppId": "32356abe-d2fd-49c7-9030-abdcbc6456d4", "enableCSRFProtection": false }'
"<string>"
Generate a URL for the browser to render to kick off OAuth flow. You can use this endpoint as an alternative to the prebuilt UI components.
OK
URL to render
Was this page helpful?