Skip to main content
POST
/
integrations
Create Integration
curl --request POST \
  --url https://hub.griff.services/integrations/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "category": "notifications",
  "provider": "aws",
  "name": "<string>",
  "connectionId": "<string>",
  "config": {
    "providerType": "email",
    "fromAddress": "<string>",
    "fromName": "<string>",
    "replyTo": "<string>"
  },
  "credentials": {},
  "environment": "<string>",
  "enabled": true
}
'
{
  "data": {
    "id": "<string>",
    "organizationId": "<string>",
    "category": "notifications",
    "provider": "aws",
    "name": "<string>",
    "hasCredentials": true,
    "enabled": true,
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "connectionId": "<string>",
    "config": {
      "providerType": "email",
      "fromAddress": "<string>",
      "fromName": "<string>",
      "replyTo": "<string>"
    },
    "environment": "<string>"
  }
}

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
connectionId
string | null
config
IntegrationConfig · object
credentials
object
environment
string | null
enabled
boolean

Response

Default Response

data
Integration · object
required