cURL
curl --request POST \ --url https://hub.griff.services/integrations/oauth/initiate \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "category": "notifications", "provider": "aws", "name": "<string>", "environment": "<string>", "redirectAfter": "<string>" } '
{ "transactionId": "<string>", "authUrl": "<string>", "expiresAt": "2023-11-07T05:31:56Z" }
Start an OAuth flow. Returns transactionId, authUrl, and expiresAt. The user opens authUrl in a browser to authorize; then poll status until complete.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
notifications
secrets
metrics
aws
vault
slack
email
webhook
resend
Default Response