Sazabi
APIIntegrations

Begin a browser connect flow

POST
/integrations/connect

Begin a browser connect flow for an OAuth or app-installation provider. Returns a vendor URL to open in a browser and an attempt to poll; the vendor exchange completes server-side and no token ever reaches the caller.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/integrations/connect" \  -H "Content-Type: application/json" \  -d '{    "provider": "slack"  }'
{  "url": "string",  "attemptId": "ff88f33b-bb8d-4c28-947a-07ff3d628b10",  "expiresAt": "2019-08-24T14:15:22Z"}