POST
/
oauth-connect
curl --request POST \
  --url https://api.withampersand.com/v1/oauth-connect \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <api-key>' \
  --data '{
  "providerWorkspaceRef": "salesforce-instance-domain",
  "providerMetadata": {},
  "projectId": "my-project",
  "groupRef": "group-123",
  "groupName": "Organization Name",
  "consumerRef": "user_123456",
  "consumerName": "John Doe",
  "providerAppId": "32356abe-d2fd-49c7-9030-abdcbc6456d4",
  "provider": "salesforce",
  "enableCSRFProtection": true
}'
"<string>"

Authorizations

X-Api-Key
string
header
required

Body

application/json

Response

200
text/plain

OK

URL to render