cURL
curl --request POST \ --url https://app.closerx.ai/api/v2/snowie/callback/ \ --header 'Company-Name: <company-name>' \ --header 'Content-Type: application/json' \ --header 'api_key: <api-key>' \ --data ' { "code": "abc123" } '
{ "success": true, "message": "User successfully connected to Snowie" }
Handles the OAuth callback from Snowie by consuming the returned code only.
code
Schema name for multi-tenancy
Authorization code returned from Snowie
"abc123"
Snowie connection successful
true
"User successfully connected to Snowie"