Skip to main content

Update an integration

post/v1/team/integrations/{integration_id}

Request​

Authorization

  • Authorizationstringheaderrequired

    Key in the format Bearer <API-key>. Create a key on the API keys page.

Path Parameters

  • integration_id integer<int64>required

    Integration ID

Request body

    namestring

    Name

    Example: Slack alerts

Response

    contact_groups object[]

    Contact groups

  • Array [
  • idinteger<int64>

    Contact group ID

    Example: 11
    namestring

    Group name

    Example: On-call engineers
  • ]
  • created_atstring<date-time>

    Creation date

    discord_webhook_urlstring

    Discord webhook URL

    Example: https://discord.com/api/webhooks/000/XXXXXXXX
    google_chat_webhook_urlstring

    Google Chat webhook URL

    Example: https://chat.googleapis.com/v1/spaces/AAAA/messages?key=****
    idinteger<int64>

    Identifier

    Example: 15
    max_chat_idinteger<int64>

    Max chat ID

    Example: 987654321
    max_typestring

    Max chat type

    Example: group
    namestring

    Name

    Example: Slack alerts
    slack_channelstring

    Slack channel

    Example: #alerts
    slack_webhook_urlstring

    Slack webhook URL

    Example: https://hooks.slack.com/services/T000/B000/XXXXXXXX
    telegram_chat_idinteger<int64>

    Telegram chat ID

    Example: 123456789
    telegram_typestring

    Telegram chat type

    Example: group
    typestring

    Integration type

    Possible values: [telegram, webhook, slack, vkteams, discord, googlechat, max]

    Example: slack
    updated_atstring<date-time>

    Update date

    vkteams_chat_idstring

    VK Teams chat ID

    Example: team@chat
    vkteams_tokenstring

    VK Teams token

    Example: 001.0000000000.0000000000:000000000
    webhook_urlstring

    Webhook URL

    Example: https://example.com/hooks/tuna