Skip to main content
POST
/
integrations
/
oauth
/
initiate
Initiate OAuth
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"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
category
enum<string>
required
Available options:
notifications,
secrets,
metrics
provider
enum<string>
required
Available options:
aws,
vault,
slack,
email,
webhook,
resend
name
string
required
environment
string
redirectAfter
string

Response

Default Response

transactionId
string
required
authUrl
string
required
expiresAt
string<date-time>
required