Integration

Find integrations in workspace

GET /v1/integration/workspace/:id

Find all integrations added in this workspace. email integrations are added default when workspace is first made.

Headers

Name
Value

Authorization

Bearer <token>

Path

Name
Type
Description

id

string

workspace_id

Response

[
  {
    "id": "integration_01j5fqx4btn8ccs7jqxagfvj47",
    "workspace_id": "workspace_01j50cn0hjhfr1e8ktpjgpdd5n",
    "name": "dev@jaehong21.com",
    "type": "EMAIL",
    "config": {
      "receiver": "dev@jaehong21.com"
    },
    "created_at": "2024-08-17 08:40:15",
    "updated_at": "2024-08-17 08:40:15"
  }
]

Create a new user

POST /v1/integration/workspace/:id/email

Create an new email integration.

Headers

Name
Value

Authorization

Bearer <token>

Path

Name
Type
Description

id

string

workspace_id

Body

Name
Type
Description

name

string

name of the integration

config.receiver

string

email destination address

Request

It cannot create multiple email integrations with same email.

Response

Find integrations in monitor

GET /v1/integration/monitor/:id

Find all integrations ON in monitor.

Headers

Name
Value

Authorization

Bearer <token>

Path

Name
Type
Description

id

string

monitor_id

Response

Activate monitor integration

POST /v1/integration/monitor/:id

Activate integrations (that exist in workspace) for monitor. When monitor is UP or DOWN it sends alert based on the added integrations in the monitor.

Headers

Name
Value

Authorization

Bearer <token>

Path

Name
Type
Description

id

string

monitor_id

Body

Name
Type
Description

integration_id

string

Response

Deactivate monitor integration

DELETE /v1/integration/monitor/:id

Deactivate integrations (that exist in workspace) for monitor.

Headers

Name
Value

Authorization

Bearer <token>

Path

Name
Type
Description

id

string

monitor_id

Body

Name
Type
Description

integration_id

string

Response

Last updated